diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-10 12:52:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-10 12:52:57 +0000 |
commit | 4c42c322adc76ab8c6991cb697b1076dea7c8a91 (patch) | |
tree | 2ccd4c405b6427528bb875f31dcf0cba5805ebaf /main/mkinitfs | |
parent | 1946bf98650141206b3a5ab57ffd62f0f8749b05 (diff) | |
download | aports-4c42c322adc76ab8c6991cb697b1076dea7c8a91.tar.bz2 aports-4c42c322adc76ab8c6991cb697b1076dea7c8a91.tar.xz |
main/mkinitfs: upgrade to 2.7.0
Diffstat (limited to 'main/mkinitfs')
-rw-r--r-- | main/mkinitfs/0001-features-fix-typo-in-gfs2-and-ocfs2-modules.patch | 28 | ||||
-rw-r--r-- | main/mkinitfs/0001-mkinitfs-fix-kernel-module-dependency-tracing.patch | 36 | ||||
-rw-r--r-- | main/mkinitfs/APKBUILD | 32 | ||||
-rw-r--r-- | main/mkinitfs/eglibc.patch | 17 |
4 files changed, 5 insertions, 108 deletions
diff --git a/main/mkinitfs/0001-features-fix-typo-in-gfs2-and-ocfs2-modules.patch b/main/mkinitfs/0001-features-fix-typo-in-gfs2-and-ocfs2-modules.patch deleted file mode 100644 index 762faff0b1..0000000000 --- a/main/mkinitfs/0001-features-fix-typo-in-gfs2-and-ocfs2-modules.patch +++ /dev/null @@ -1,28 +0,0 @@ -From fe33d9388ea18748bdf84195d6b070466184400d Mon Sep 17 00:00:00 2001 -From: Natanael Copa <ncopa@alpinelinux.org> -Date: Thu, 31 Jul 2014 07:10:48 +0000 -Subject: [PATCH] features: fix typo in gfs2 and ocfs2 modules - -ref #3265 ---- - features.d/gfs2.modules | 2 +- - features.d/ocfs2.modules | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/features.d/gfs2.modules b/features.d/gfs2.modules -index 40ecf79..6943745 100644 ---- a/features.d/gfs2.modules -+++ b/features.d/gfs2.modules -@@ -1 +1 @@ --kerne/fs/gfs2 -+kernel/fs/gfs2 -diff --git a/features.d/ocfs2.modules b/features.d/ocfs2.modules -index 910935a..9411020 100644 ---- a/features.d/ocfs2.modules -+++ b/features.d/ocfs2.modules -@@ -1 +1 @@ --kerne/fs/ocfs2 -+kernel/fs/ocfs2 --- -2.0.3 - diff --git a/main/mkinitfs/0001-mkinitfs-fix-kernel-module-dependency-tracing.patch b/main/mkinitfs/0001-mkinitfs-fix-kernel-module-dependency-tracing.patch deleted file mode 100644 index 1eb4af8f9d..0000000000 --- a/main/mkinitfs/0001-mkinitfs-fix-kernel-module-dependency-tracing.patch +++ /dev/null @@ -1,36 +0,0 @@ -From f3c65536e02764486f1dd0082c0537377ee8720b Mon Sep 17 00:00:00 2001 -From: Natanael Copa <ncopa@alpinelinux.org> -Date: Thu, 27 Mar 2014 15:28:25 +0000 -Subject: [PATCH] mkinitfs: fix kernel module dependency tracing - -When searching kernel module depedencies we need to that relative -kerneldir and not relative basedir. ---- - mkinitfs.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/mkinitfs.in b/mkinitfs.in -index cd10359..fc7cf34 100755 ---- a/mkinitfs.in -+++ b/mkinitfs.in -@@ -68,7 +68,7 @@ function recursedeps(k, j, dep) { - split(deps[k], dep, " "); - for (j in dep) - recursedeps(dep[j]); -- print(k); -+ print(prepend k); - } - - BEGIN { -@@ -98,7 +98,7 @@ find_kmods() { - local oldpwd="$PWD" - cd "$kerneldir" || return 1 - for file in $(feature_files "${kerneldir}/" modules); do -- echo ${file#$basedir} -+ echo ${file#${kerneldir%/}/} - done | find_kmod_deps - cd "$oldpwd" - } --- -1.9.1 - diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD index a92082e61c..8f995e1afc 100644 --- a/main/mkinitfs/APKBUILD +++ b/main/mkinitfs/APKBUILD @@ -1,17 +1,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mkinitfs -pkgver=2.6.0 +pkgver=2.7.0 _ver=${pkgver%_git*} -pkgrel=5 +pkgrel=0 pkgdesc="Tool to generate initramfs images for Alpine" url=http://git.alpinelinux.org/cgit/mkinitfs depends="busybox apk-tools>=2.0 lddtree>=1.25" install="$pkgname.pre-upgrade" triggers="$pkgname.trigger=/usr/share/kernel/*" source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$_ver.tar.xz - 0001-mkinitfs-fix-kernel-module-dependency-tracing.patch - 0001-features-fix-typo-in-gfs2-and-ocfs2-modules.patch - eglibc.patch " arch="noarch" license="GPL-2" @@ -19,18 +16,8 @@ license="GPL-2" _builddir="$srcdir"/$pkgname-$_ver prepare() { cd "$_builddir" - - # If we are using eglibc/glibc we need to include eglibc libs - # instead of uclibc libs. for i in $source; do case $i in - eglibc.patch) - case "$CHOST" in - *-gnu) - patch -p1 -i "$srcdir"/eglibc.patch || return 1 - ;; - esac - ;; *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1 ;; @@ -47,15 +34,6 @@ package() { cd "$_builddir" make install DESTDIR="$pkgdir" || return 1 } -md5sums="0451285f9afb152854e6d7f40c2884b3 mkinitfs-2.6.0.tar.xz -885d58c1a10258c9b81e5da77709b424 0001-mkinitfs-fix-kernel-module-dependency-tracing.patch -762e86d549b5d5252ab99c6505039f2e 0001-features-fix-typo-in-gfs2-and-ocfs2-modules.patch -067649665a767ff1a08578e1f4e61524 eglibc.patch" -sha256sums="03edcc91564dbe0bf3b10a05b4e034cc1ba86fc738821d8ee25171c924c6cbd6 mkinitfs-2.6.0.tar.xz -5f9e093ef33ceadb4a780e34516ffef53c0cd9ade235d0c6c23d6799718b64d8 0001-mkinitfs-fix-kernel-module-dependency-tracing.patch -f18066aee1fa58a13e3bb5bf2a0b88bf0b5afa02fd68f91d254dbd76572cf7cd 0001-features-fix-typo-in-gfs2-and-ocfs2-modules.patch -2db513d1a058be0f5794dc74d00418807253d8ac850c9713ea0eeb0be5f3f65a eglibc.patch" -sha512sums="49751040ba0a8834ad7c957624cb9ea853e245735f4724c0816b10d89310ffbe65026f6109de3d3629616fff0311002ea6df3162557db777b2112fdd91046a99 mkinitfs-2.6.0.tar.xz -92d625c352504ddf1f22075f60b3b8cd346a40c0592731c2403c58e27f4c7601d31b6bdf7c50b400ada2e4d084410fc0f9d3b6ddbfce48471a82a1ed909177b5 0001-mkinitfs-fix-kernel-module-dependency-tracing.patch -091fff2284cc28210c25d4b5c6d07beed0a23d8bb9dea56c5fd6582e1ab75fde9c85597cdf39eb3f9ea744ea4536eb2db263a0ff2b8f84bfa2d2b0530bf875a9 0001-features-fix-typo-in-gfs2-and-ocfs2-modules.patch -3498d9930889cd776a34863733d467b50b83679ea7f91d79963c81e4f1dc138f887ef1f2a696da6d836d1f6f862dcfd2c2fb9a55b0e3b2926e9f3fc648bc5a15 eglibc.patch" +md5sums="fbf7a5ec2530490f9edd8df4541eff99 mkinitfs-2.7.0.tar.xz" +sha256sums="99019951e0ea914f00bf94dea69a0f9456bdb4f5934d8c6de3e5ed628b4734e6 mkinitfs-2.7.0.tar.xz" +sha512sums="ec0bad81773374ae7221da53cc889b3bddc2749c207715817f691ba1fbba5ee3967c1656283212525f0486a23b9b05379900473ee6188474bdbd6325ee50d1da mkinitfs-2.7.0.tar.xz" diff --git a/main/mkinitfs/eglibc.patch b/main/mkinitfs/eglibc.patch deleted file mode 100644 index 25eb92626b..0000000000 --- a/main/mkinitfs/eglibc.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- mkinitfs-2.4.2.orig/files.d/base -+++ mkinitfs-2.4.2/files.d/base -@@ -7,11 +7,10 @@ - /lib/libdl.so* - /lib/libm-[0-9]* - /lib/libm.so.* --/lib/libuClibc-[0-9]* -+/lib/libc-[0-9]* - /lib/libc.so.* - /lib/libz.* --/lib/ld*-uClibc-[0-9]* --/lib/ld*-uClibc.so* -+/lib/ld*.so* - /lib/mdev - /sbin/apk - /etc/modprobe.d/*.conf - |