diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-15 13:25:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-15 13:25:16 +0000 |
commit | 403cf873eacaa6d783b78663db34b9c0e858414d (patch) | |
tree | 0f491510236fa4fedd3001f6c33b570ecd58253e | |
parent | 011234fd99be955053574b2b0589e1a903b0c04e (diff) | |
download | alpine_aports-403cf873eacaa6d783b78663db34b9c0e858414d.tar.bz2 alpine_aports-403cf873eacaa6d783b78663db34b9c0e858414d.tar.xz alpine_aports-403cf873eacaa6d783b78663db34b9c0e858414d.zip |
core/mkinitfs: add the modprobe blacklist to initramfs image
-rw-r--r-- | core/mkinitfs/APKBUILD | 9 | ||||
-rw-r--r-- | core/mkinitfs/blacklist.patch | 15 |
2 files changed, 21 insertions, 3 deletions
diff --git a/core/mkinitfs/APKBUILD b/core/mkinitfs/APKBUILD index d4e4c7966a..86bf8333de 100644 --- a/core/mkinitfs/APKBUILD +++ b/core/mkinitfs/APKBUILD | |||
@@ -1,16 +1,19 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=mkinitfs | 2 | pkgname=mkinitfs |
3 | pkgver=1.4 | 3 | pkgver=1.4 |
4 | pkgrel=0 | 4 | pkgrel=1 |
5 | pkgdesc="Tool to generate initramfs images for Alpine" | 5 | pkgdesc="Tool to generate initramfs images for Alpine" |
6 | url=http://git.alpinelinux.org/cgit/mkinitfs | 6 | url=http://git.alpinelinux.org/cgit/mkinitfs |
7 | depends="busybox" | 7 | depends="busybox" |
8 | source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2" | 8 | source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2 |
9 | blacklist.patch" | ||
9 | license="GPL-2" | 10 | license="GPL-2" |
10 | 11 | ||
11 | build() { | 12 | build() { |
12 | cd "$srcdir"/$pkgname-$pkgver | 13 | cd "$srcdir"/$pkgname-$pkgver |
14 | patch -p1 < ../blacklist.patch || return 1 | ||
13 | make | 15 | make |
14 | make install DESTDIR="$pkgdir" || return 1 | 16 | make install DESTDIR="$pkgdir" || return 1 |
15 | } | 17 | } |
16 | md5sums="a50e5ca22364be12f1cf0f089b4ab52e mkinitfs-1.4.tar.bz2" | 18 | md5sums="a50e5ca22364be12f1cf0f089b4ab52e mkinitfs-1.4.tar.bz2 |
19 | 88de14691e09e7b6b156f1cc7d5d93a6 blacklist.patch" | ||
diff --git a/core/mkinitfs/blacklist.patch b/core/mkinitfs/blacklist.patch new file mode 100644 index 0000000000..6d11954f91 --- /dev/null +++ b/core/mkinitfs/blacklist.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | commit 1c050920d584c2a26b9088fb8e5234b6818ba682 | ||
2 | Author: Natanael Copa <ncopa@alpinelinux.org> | ||
3 | Date: Fri May 15 13:21:43 2009 +0000 | ||
4 | |||
5 | add the modprobe blacklist to initramfs image | ||
6 | |||
7 | diff --git a/files.d/base b/files.d/base | ||
8 | index 3387370..c16fe0b 100644 | ||
9 | --- a/files.d/base | ||
10 | +++ b/files.d/base | ||
11 | @@ -10,3 +10,4 @@ | ||
12 | /lib/ld-uClibc.so* | ||
13 | /lib/mdev | ||
14 | /sbin/apk | ||
15 | +/etc/modprobe.d/blacklist | ||