summaryrefslogtreecommitdiffstats
path: root/source/a/mkinitrd/mkinitrd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/mkinitrd/mkinitrd.SlackBuild')
-rwxr-xr-xsource/a/mkinitrd/mkinitrd.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/a/mkinitrd/mkinitrd.SlackBuild b/source/a/mkinitrd/mkinitrd.SlackBuild
index 92c1d2075..a0d8cadf6 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.37.0
-BUILD=${BUILD:-38}
+BUILD=${BUILD:-39}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -190,6 +190,7 @@ ln -sf /usr/doc/mkinitrd-$VERSION/README.initrd $PKG/boot/README.initrd
cp -a $CWD/remove-orphaned-initrds $PKG/boot
chown root:root $PKG/boot/remove-orphaned-initrds
chmod 755 $PKG/boot/remove-orphaned-initrds
+( cd $PKG/usr/sbin ; ln -sf /boot/remove-orphaned-initrds . )
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null