aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf
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
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')
-rw-r--r--main/alpine-conf/0001-setup-disk-add-cdrom-usb-and-floppy-to-fstab.patch28
-rw-r--r--main/alpine-conf/APKBUILD9
2 files changed, 34 insertions, 3 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 0000000000..3b18aa69a6
--- /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
+
diff --git a/main/alpine-conf/APKBUILD b/main/alpine-conf/APKBUILD
index 5261892962..4111a8d688 100644
--- a/main/alpine-conf/APKBUILD
+++ b/main/alpine-conf/APKBUILD
@@ -1,11 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=2.5
-pkgrel=0
+pkgrel=1
pkgdesc="Alpine configuration management scripts"
url=http://git.alpinelinux.org/cgit/$pkgname
depends="openrc"
-source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2"
+source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
+ 0001-setup-disk-add-cdrom-usb-and-floppy-to-fstab.patch
+ "
license="GPL-2"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -33,4 +35,5 @@ package() {
ln -s lbu "$pkgdir"/sbin/lbu_$i
done
}
-md5sums="24cd19783bfa63d0cefb8c10577bb6fb alpine-conf-2.5.tar.bz2"
+md5sums="24cd19783bfa63d0cefb8c10577bb6fb alpine-conf-2.5.tar.bz2
+013d6ff1b2528002189a8c719dff68d6 0001-setup-disk-add-cdrom-usb-and-floppy-to-fstab.patch"