summaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/0001-setup-disk-add-cdrom-usb-and-floppy-to-fstab.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-24 15:11:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-24 15:12:39 +0000
commitba5e38b280bdaf19211da9e2d6e0b2c76d06ab14 (patch)
tree2248ee3b08551a7686601b55500a90d8df770cba /main/alpine-conf/0001-setup-disk-add-cdrom-usb-and-floppy-to-fstab.patch
parentd2012f70a928a763010090f00122829f70a01371 (diff)
downloadaports-ba5e38b280bdaf19211da9e2d6e0b2c76d06ab14.tar.bz2
aports-ba5e38b280bdaf19211da9e2d6e0b2c76d06ab14.tar.xz
main/alpine-conf: setup-disk fstab fix
ref #416
Diffstat (limited to 'main/alpine-conf/0001-setup-disk-add-cdrom-usb-and-floppy-to-fstab.patch')
-rw-r--r--main/alpine-conf/0001-setup-disk-add-cdrom-usb-and-floppy-to-fstab.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/alpine-conf/0001-setup-disk-add-cdrom-usb-and-floppy-to-fstab.patch b/main/alpine-conf/0001-setup-disk-add-cdrom-usb-and-floppy-to-fstab.patch
new file mode 100644
index 000000000..3b18aa69a
--- /dev/null
+++ b/main/alpine-conf/0001-setup-disk-add-cdrom-usb-and-floppy-to-fstab.patch
@@ -0,0 +1,28 @@
+From d7441947485aaa311d9d892d1341690ba9d99afb Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Tue, 24 Aug 2010 14:45:20 +0000
+Subject: [PATCH] setup-disk: add cdrom, usb and floppy to fstab
+
+---
+ setup-disk.in | 5 +++++
+ 1 files changed, 5 insertions(+), 0 deletions(-)
+
+diff --git a/setup-disk.in b/setup-disk.in
+index 96e8e99..c6f56a1 100644
+--- a/setup-disk.in
++++ b/setup-disk.in
+@@ -202,6 +202,11 @@ EOF
+ mv "$mnt"/etc/fstab "$mnt"/etc/fstab.old
+ fi
+ enumerate_fstab "$mnt" >> "$mnt"/etc/fstab
++ cat >>"$mnt"/etc/fstab <<EOF
++/dev/cdrom /media/cdrom iso9660 noauto,ro 0 0
++/dev/fd0 /media/floppy vfat noauto 0 0
++/dev/usbdisk /media/usb vfat noauto 0 0
++EOF
+
+ # install extlinux
+ apk add -q syslinux
+--
+1.7.2.2
+