diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-21 12:01:48 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-21 12:01:48 +0000 |
commit | ac01c4ab99a130bcbcec089506ffe19374cea59d (patch) | |
tree | 9300895ff22e975df02ebdaec2e30ce518eafaa9 /main/mkinitfs/APKBUILD | |
parent | a4cc593132e169168d5b701da879998f91f3744c (diff) | |
download | aports-ac01c4ab99a130bcbcec089506ffe19374cea59d.tar.bz2 aports-ac01c4ab99a130bcbcec089506ffe19374cea59d.tar.xz |
main/mkinitfs: mount devices as readonly
Diffstat (limited to 'main/mkinitfs/APKBUILD')
-rw-r--r-- | main/mkinitfs/APKBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD index 2c5d0e42c1..a18c4e8496 100644 --- a/main/mkinitfs/APKBUILD +++ b/main/mkinitfs/APKBUILD @@ -1,13 +1,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mkinitfs pkgver=2.1.3 -pkgrel=0 +pkgrel=1 pkgdesc="Tool to generate initramfs images for Alpine" url=http://git.alpinelinux.org/cgit/mkinitfs depends="busybox apk-tools>=2.0" triggers="$pkgname.trigger:/usr/share/kernel/*" source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2 eglibc.patch + 0001-init-mount-devices-as-read-only.patch " arch="x86 x86_64" license="GPL-2" @@ -15,6 +16,9 @@ license="GPL-2" prepare() { cd "$srcdir"/$pkgname-$pkgver + patch -p1 -i "$srcdir"/0001-init-mount-devices-as-read-only.patch \ + || return 1 + # If we are using eglibc/glibc we need to include eglibc libs # instead of uclibc libs. case "$CHOST" in @@ -34,4 +38,5 @@ package() { make install DESTDIR="$pkgdir" || return 1 } md5sums="36bea9db1d83d2fd9860130b1cdec0d0 mkinitfs-2.1.3.tar.bz2 -e59c2f7de496fe430b07e32fd812ebe0 eglibc.patch" +e59c2f7de496fe430b07e32fd812ebe0 eglibc.patch +96cfe927afb70e1af94a9c6fe8f5acca 0001-init-mount-devices-as-read-only.patch" |