summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-05-15 13:25:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-05-15 13:25:16 +0000
commit403cf873eacaa6d783b78663db34b9c0e858414d (patch)
tree0f491510236fa4fedd3001f6c33b570ecd58253e /core
parent011234fd99be955053574b2b0589e1a903b0c04e (diff)
downloadaports-403cf873eacaa6d783b78663db34b9c0e858414d.tar.bz2
aports-403cf873eacaa6d783b78663db34b9c0e858414d.tar.xz
core/mkinitfs: add the modprobe blacklist to initramfs image
Diffstat (limited to 'core')
-rw-r--r--core/mkinitfs/APKBUILD9
-rw-r--r--core/mkinitfs/blacklist.patch15
2 files changed, 21 insertions, 3 deletions
diff --git a/core/mkinitfs/APKBUILD b/core/mkinitfs/APKBUILD
index d4e4c7966..86bf8333d 100644
--- a/core/mkinitfs/APKBUILD
+++ b/core/mkinitfs/APKBUILD
@@ -1,16 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
pkgver=1.4
-pkgrel=0
+pkgrel=1
pkgdesc="Tool to generate initramfs images for Alpine"
url=http://git.alpinelinux.org/cgit/mkinitfs
depends="busybox"
-source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2"
+source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
+ blacklist.patch"
license="GPL-2"
build() {
cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 < ../blacklist.patch || return 1
make
make install DESTDIR="$pkgdir" || return 1
}
-md5sums="a50e5ca22364be12f1cf0f089b4ab52e mkinitfs-1.4.tar.bz2"
+md5sums="a50e5ca22364be12f1cf0f089b4ab52e mkinitfs-1.4.tar.bz2
+88de14691e09e7b6b156f1cc7d5d93a6 blacklist.patch"
diff --git a/core/mkinitfs/blacklist.patch b/core/mkinitfs/blacklist.patch
new file mode 100644
index 000000000..6d11954f9
--- /dev/null
+++ b/core/mkinitfs/blacklist.patch
@@ -0,0 +1,15 @@
+commit 1c050920d584c2a26b9088fb8e5234b6818ba682
+Author: Natanael Copa <ncopa@alpinelinux.org>
+Date: Fri May 15 13:21:43 2009 +0000
+
+ add the modprobe blacklist to initramfs image
+
+diff --git a/files.d/base b/files.d/base
+index 3387370..c16fe0b 100644
+--- a/files.d/base
++++ b/files.d/base
+@@ -10,3 +10,4 @@
+ /lib/ld-uClibc.so*
+ /lib/mdev
+ /sbin/apk
++/etc/modprobe.d/blacklist