summaryrefslogtreecommitdiff
path: root/source/a/mkinitrd/mkinitrd.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-12-15 18:20:57 +0000
committerEric Hameleers <alien@slackware.com>2019-12-16 08:59:48 +0100
commit3be7c5fe3b6a961dac28eb856ed2d8ca0bd0e2c9 (patch)
tree35c375a412f99528712ad8ef13bb7a324b458a04 /source/a/mkinitrd/mkinitrd.SlackBuild
parent9ec6f4bec387d164b55effd64e8be9fded595df1 (diff)
downloadcurrent-3be7c5fe3b6a961dac28eb856ed2d8ca0bd0e2c9.tar.gz
Sun Dec 15 18:20:57 UTC 201920191215182057
a/kernel-firmware-20191215_eefb5f7-noarch-1.txz: Upgraded. a/mcelog-167-x86_64-1.txz: Upgraded. a/mkinitrd-1.4.11-x86_64-14.txz: Rebuilt. Patched init to fix the case where -T and -C options are used with UUID=. Thanks to davjohn and GazL. ap/cups-filters-1.26.0-x86_64-1.txz: Upgraded. d/re2c-1.3-x86_64-1.txz: Upgraded. l/fuse3-3.9.0-x86_64-1.txz: Upgraded. n/mutt-1.13.1-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/mkinitrd/mkinitrd.SlackBuild')
-rwxr-xr-xsource/a/mkinitrd/mkinitrd.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/a/mkinitrd/mkinitrd.SlackBuild b/source/a/mkinitrd/mkinitrd.SlackBuild
index 55057603..20965e3a 100755
--- a/source/a/mkinitrd/mkinitrd.SlackBuild
+++ b/source/a/mkinitrd/mkinitrd.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mkinitrd
VERSION=${VERSION:-1.4.11}
BB=1.30.1
-BUILD=${BUILD:-13}
+BUILD=${BUILD:-14}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -93,12 +93,15 @@ chmod 644 $PKG/usr/share/mkinitrd/keymaps.tar.gz
tar xf $CWD/_initrd-tree.tar.gz
cat $CWD/init > init
+ # Patch init:
+ zcat $CWD/0001-Fix-LUKSTRIM-with-C-T-and-UUID.patch.gz | patch -p1 --verbose || exit 1
+
# These are useful for ARM:
mknod -m 644 dev/random c 1 8
mknod -m 644 dev/urandom c 1 9
tar czf ../initrd-tree.tar.gz .
-)
+) || exit 1
rm -rf $PKG/usr/share/mkinitrd/initrd-tree
# Add busybox docs: