aboutsummaryrefslogtreecommitdiffstats
path: root/main/mkinitfs
diff options
context:
space:
mode:
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 c1c5b65b7c..0000000000
--- 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 6a22529647..d025e78c20 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"