diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2021-07-16 18:53:33 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2021-07-17 08:59:52 +0200 |
commit | eefcea89bf9bd1dc25244777d5e31d0fb48b9672 (patch) | |
tree | c892e7fecb785170b845b26b776b6d07d53bc3c6 /source/a/mkinitrd/mkinitrd.SlackBuild | |
parent | 3c1ca4fba7f2eb67b5526d02b29849e5ff7cb2c7 (diff) | |
download | current-eefcea89bf9bd1dc25244777d5e31d0fb48b9672.tar.gz current-eefcea89bf9bd1dc25244777d5e31d0fb48b9672.tar.xz |
Fri Jul 16 18:53:33 UTC 202120210716185333
a/mkinitrd-1.4.11-x86_64-25.txz: Rebuilt.
Abort if a temporary directory cannot be created, otherwise the contents of
the current directory could be destroyed. Thanks to Andypoo.
d/Cython-0.29.24-x86_64-1.txz: Upgraded.
l/libedit-20210714_3.1-x86_64-1.txz: Upgraded.
x/libwacom-1.11-x86_64-1.txz: Upgraded.
Diffstat (limited to '')
-rwxr-xr-x | source/a/mkinitrd/mkinitrd.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/a/mkinitrd/mkinitrd.SlackBuild b/source/a/mkinitrd/mkinitrd.SlackBuild index 232dc6ac2..58dc341de 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.32.1 -BUILD=${BUILD:-24} +BUILD=${BUILD:-25} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -120,6 +120,8 @@ chmod 755 $PKG/sbin/mkinitrd # Patch to switch to mktemp: ( cd $PKG/sbin ; zcat $CWD/mkinitrd.tempfile.to.mktemp.patch.gz | patch --verbose || exit 1) || exit 1 +# Patch mkinitrd to bail on no temp directory: +( cd $PKG/sbin ; zcat $CWD/0002-bail-if-temp-dir-is-not-created.patch.gz | patch -p1 --verbose || exit 1) || exit 1 rm -f $PKG/sbin/mkinitrd.orig mkdir -p $PKG/usr/man/man{5,8} |