diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-12 07:08:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-12 07:09:22 +0000 |
commit | 98a006e20e0e14fa2cdcab9329c04ffb11e4685e (patch) | |
tree | 42c3a1419c700b4ae32eb56d6a20aa96076da66c | |
parent | c5ae110dc32cd8fe841deb2ce4799f2dbd767595 (diff) | |
download | alpine_aports-98a006e20e0e14fa2cdcab9329c04ffb11e4685e.tar.bz2 alpine_aports-98a006e20e0e14fa2cdcab9329c04ffb11e4685e.tar.xz alpine_aports-98a006e20e0e14fa2cdcab9329c04ffb11e4685e.zip |
main/mkinitfs: update init for apk-tools-2.1
-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 @@ | |||
1 | From d50371d52ddad76f6393ceadd74ed5f4433b9666 Mon Sep 17 00:00:00 2001 | ||
2 | From: Natanael Copa <ncopa@alpinelinux.org> | ||
3 | Date: Thu, 7 Apr 2011 19:46:29 +0000 | ||
4 | Subject: [PATCH] init: use new location for world | ||
5 | |||
6 | --- | ||
7 | initramfs-init.in | 2 +- | ||
8 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
9 | |||
10 | diff --git a/initramfs-init.in b/initramfs-init.in | ||
11 | index 1040288..abc888f 100755 | ||
12 | --- a/initramfs-init.in | ||
13 | +++ b/initramfs-init.in | ||
14 | @@ -391,7 +391,7 @@ if [ -f "$ovl" ]; then | ||
15 | umount /media/$i 2>/dev/null & | ||
16 | pkgs="$pkgs $(sed 's/\#.*//' $sysroot/etc/lbu/packages.list 2>/dev/null)" | ||
17 | rm -f "$sysroot"/etc/lbu/packages.list | ||
18 | - pkgs="$pkgs $(cat $sysroot/var/lib/apk/world 2>/dev/null)" | ||
19 | + pkgs="$pkgs $(cat $sysroot/var/lib/apk/world $sysroot/etc/apk/world 2>/dev/null)" | ||
20 | else | ||
21 | # add some boot services by default | ||
22 | rc_add devfs sysinit | ||
23 | -- | ||
24 | 1.7.4.4 | ||
25 | |||
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 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=mkinitfs | 2 | pkgname=mkinitfs |
3 | pkgver=2.3.3 | 3 | pkgver=2.3.3 |
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 apk-tools>=2.0" | 7 | depends="busybox apk-tools>=2.0" |
8 | triggers="$pkgname.trigger:/usr/share/kernel/*" | 8 | triggers="$pkgname.trigger:/usr/share/kernel/*" |
9 | source="http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2 | 9 | source="http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2 |
10 | 0001-init-use-new-location-for-world.patch | ||
10 | eglibc.patch | 11 | eglibc.patch |
11 | " | 12 | " |
12 | arch="all" | 13 | arch="all" |