summaryrefslogtreecommitdiffstats
path: root/main/mkinitfs
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-03 13:37:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-03 13:37:15 +0000
commita04a0691d82ce19033609568b37970133cae01a6 (patch)
tree5034ae4414a362824e2a08ca31aec8cb4f24efbd /main/mkinitfs
parent7c5f8e36fb020de96613839b7cf279d0ec398232 (diff)
downloadaports-a04a0691d82ce19033609568b37970133cae01a6.tar.bz2
aports-a04a0691d82ce19033609568b37970133cae01a6.tar.xz
main/mkinitfs: upgrade to 2.0_rc4
Diffstat (limited to 'main/mkinitfs')
-rw-r--r--main/mkinitfs/0001-mkinitfs-fix-b-option.patch43
-rw-r--r--main/mkinitfs/APKBUILD9
2 files changed, 3 insertions, 49 deletions
diff --git a/main/mkinitfs/0001-mkinitfs-fix-b-option.patch b/main/mkinitfs/0001-mkinitfs-fix-b-option.patch
deleted file mode 100644
index c1c5b65b7..000000000
--- a/main/mkinitfs/0001-mkinitfs-fix-b-option.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From d64e5baefc7e1ca75e6f1ca50f28e96b30991c6a Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Thu, 3 Sep 2009 09:06:54 +0000
-Subject: [PATCH] mkinitfs: fix -b option
-
----
- mkinitfs.in | 6 +++---
- 1 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/mkinitfs.in b/mkinitfs.in
-index e18b59c..0332151 100755
---- a/mkinitfs.in
-+++ b/mkinitfs.in
-@@ -16,7 +16,7 @@ _cp() {
- local i
- if [ -n "$list_sources" ]; then
- for i in "$@"; do
-- echo $i
-+ echo "$basedir"/$i
- done
- return
- fi
-@@ -24,7 +24,7 @@ _cp() {
- for i in "$@"; do
- local dest="$tmpdir"/${i%/*}
- mkdir -p "$dest"
-- cp -flLpR "$i" "$dest" 2>/dev/null || cp -pR "$i" "$dest"
-+ cp -flLpR "$basedir"/"$i" "$dest" 2>/dev/null || cp -pR "$i" "$dest"
- done
- }
-
-@@ -121,7 +121,7 @@ initfs_kmods() {
- [ -z "$list_sources" ] && rm -rf "$tmpdir"/lib/modules
- files=$(find_kmods)
- for file in $files; do
-- _cp "$basedir"/$file
-+ _cp $file
- done
- [ -z "$list_sources" ] && depmod $kernel -b "$tmpdir"
- }
---
-1.6.4.2
-
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD
index 6a2252964..d025e78c2 100644
--- a/main/mkinitfs/APKBUILD
+++ b/main/mkinitfs/APKBUILD
@@ -1,21 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
-pkgver=2.0_rc3
-pkgrel=1
+pkgver=2.0_rc4
+pkgrel=0
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
- 0001-mkinitfs-fix-b-option.patch
"
license="GPL-2"
build() {
cd "$srcdir"/$pkgname-$pkgver
- patch -p1 -i ../0001-mkinitfs-fix-b-option.patch || return 1
make || return 1
make install DESTDIR="$pkgdir" || return 1
}
-md5sums="7f0e2ec039d10a01f46a7a049d6cbea0 mkinitfs-2.0_rc3.tar.bz2
-49292145e7f94c047e705e329d2c3708 0001-mkinitfs-fix-b-option.patch"
+md5sums="acb74ed639bdab5f3d5d00cb8e969710 mkinitfs-2.0_rc4.tar.bz2"