diff options
-rw-r--r-- | main/mkinitfs/0001-init-use-new-location-for-world.patch | 25 | ||||
-rw-r--r-- | main/mkinitfs/APKBUILD | 3 |
2 files changed, 27 insertions, 1 deletions
diff --git a/main/mkinitfs/0001-init-use-new-location-for-world.patch b/main/mkinitfs/0001-init-use-new-location-for-world.patch new file mode 100644 index 0000000000..6aaca293d7 --- /dev/null +++ b/main/mkinitfs/0001-init-use-new-location-for-world.patch @@ -0,0 +1,25 @@ +From d50371d52ddad76f6393ceadd74ed5f4433b9666 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Thu, 7 Apr 2011 19:46:29 +0000 +Subject: [PATCH] init: use new location for world + +--- + initramfs-init.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/initramfs-init.in b/initramfs-init.in +index 1040288..abc888f 100755 +--- a/initramfs-init.in ++++ b/initramfs-init.in +@@ -391,7 +391,7 @@ if [ -f "$ovl" ]; then + umount /media/$i 2>/dev/null & + pkgs="$pkgs $(sed 's/\#.*//' $sysroot/etc/lbu/packages.list 2>/dev/null)" + rm -f "$sysroot"/etc/lbu/packages.list +- pkgs="$pkgs $(cat $sysroot/var/lib/apk/world 2>/dev/null)" ++ pkgs="$pkgs $(cat $sysroot/var/lib/apk/world $sysroot/etc/apk/world 2>/dev/null)" + else + # add some boot services by default + rc_add devfs sysinit +-- +1.7.4.4 + diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD index be70ab4100..9f0ba08b3c 100644 --- a/main/mkinitfs/APKBUILD +++ b/main/mkinitfs/APKBUILD @@ -1,12 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mkinitfs pkgver=2.3.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.git/snapshot/$pkgname-$pkgver.tar.bz2 + 0001-init-use-new-location-for-world.patch eglibc.patch " arch="all" |