aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-12 07:08:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-12 07:09:22 +0000
commit98a006e20e0e14fa2cdcab9329c04ffb11e4685e (patch)
tree42c3a1419c700b4ae32eb56d6a20aa96076da66c /main
parentc5ae110dc32cd8fe841deb2ce4799f2dbd767595 (diff)
downloadaports-98a006e20e0e14fa2cdcab9329c04ffb11e4685e.tar.bz2
aports-98a006e20e0e14fa2cdcab9329c04ffb11e4685e.tar.xz
main/mkinitfs: update init for apk-tools-2.1
Diffstat (limited to 'main')
-rw-r--r--main/mkinitfs/0001-init-use-new-location-for-world.patch25
-rw-r--r--main/mkinitfs/APKBUILD3
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"