diff options
author | Hank Leininger <hlein@korelogic.com> | 2022-03-03 20:20:22 -0700 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-03-11 10:31:03 +0200 |
commit | 0bb250ff921c5789e395e491530c23156a01fc3b (patch) | |
tree | 877ea74231ae1f5286e002a67f6596767642804b /sys-fs/loop-aes/files | |
parent | net-im/signal-desktop-bin: remove old version (diff) | |
download | gentoo-0bb250ff921c5789e395e491530c23156a01fc3b.tar.gz gentoo-0bb250ff921c5789e395e491530c23156a01fc3b.tar.bz2 gentoo-0bb250ff921c5789e395e491530c23156a01fc3b.zip |
sys-fs/loop-aes: Version bump to 3.7w, minor Gentoo compat fixes
Upstream version bump added 5.16 support. Also, updates to the bundled
build-initrd.sh script to be compatible with Gentoo's install ISO kernel
(see bug).
Signed-off-by: Hank Leininger <hlein@korelogic.com>
Closes: https://bugs.gentoo.org/834546
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Closes: https://github.com/gentoo/gentoo/pull/24399
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-fs/loop-aes/files')
-rw-r--r-- | sys-fs/loop-aes/files/build-initrd_explicit-losetup.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-fs/loop-aes/files/build-initrd_explicit-losetup.patch b/sys-fs/loop-aes/files/build-initrd_explicit-losetup.patch new file mode 100644 index 000000000000..2cf2976b71fe --- /dev/null +++ b/sys-fs/loop-aes/files/build-initrd_explicit-losetup.patch @@ -0,0 +1,28 @@ +--- loop-AES-v3.7v.orig/build-initrd.sh 2012-11-12 09:42:58.000000000 -0700 ++++ loop-AES-v3.7v/build-initrd.sh 2022-01-05 18:27:49.410016729 -0700 +@@ -884,7 +884,8 @@ + + dd if=/dev/zero of=tmp-i-$$ bs=1024 count=${y} + /sbin/mkfs -t minix -i 32 tmp-i-$$ ${y} +- mount -t minix tmp-i-$$ tmp-d-$$ -o loop=/dev/loop${DEVFSSLASH2}${TEMPLOOPINDEX} ++ losetup /dev/loop${DEVFSSLASH2}${TEMPLOOPINDEX} tmp-i-$$ ++ mount -t minix /dev/loop${DEVFSSLASH2}${TEMPLOOPINDEX} tmp-d-$$ + fi + cd tmp-d-$$ + +@@ -978,6 +979,7 @@ + if [ ${USEPIVOT} != 2 ] ; then + umount tmp-d-$$ + rmdir tmp-d-$$ ++ losetup -d /dev/loop${DEVFSSLASH2}${TEMPLOOPINDEX} + rm tmp-i-$$ + else + rm -rf tmp-d-$$ +@@ -1002,6 +1004,7 @@ + cd .. + df tmp-d-$$ + umount tmp-d-$$ ++ losetup -d /dev/loop${DEVFSSLASH2}${TEMPLOOPINDEX} + rmdir tmp-d-$$ + sync ; sync ; sync + gzip -9 tmp-i-$$ |