diff options
Diffstat (limited to 'source/a/mkinitrd/mkinitrd.SlackBuild')
-rwxr-xr-x | source/a/mkinitrd/mkinitrd.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/a/mkinitrd/mkinitrd.SlackBuild b/source/a/mkinitrd/mkinitrd.SlackBuild index 20965e3a..879e64c0 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:-14} +BUILD=${BUILD:-15} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -118,6 +118,9 @@ cp -a $CWD/mkinitrd $PKG/sbin/mkinitrd chown root:root $PKG/sbin/mkinitrd 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 + mkdir -p $PKG/usr/man/man{5,8} cat $CWD/mkinitrd.conf.5 | gzip -9c > $PKG/usr/man/man5/mkinitrd.conf.5.gz cat $CWD/mkinitrd.8 | gzip -9c > $PKG/usr/man/man8/mkinitrd.8.gz |