aboutsummaryrefslogtreecommitdiff
path: root/system/dracut/dracut.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/dracut/dracut.SlackBuild')
-rw-r--r--system/dracut/dracut.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/dracut/dracut.SlackBuild b/system/dracut/dracut.SlackBuild
index 81da8619d2..e943a75c05 100644
--- a/system/dracut/dracut.SlackBuild
+++ b/system/dracut/dracut.SlackBuild
@@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dracut
SRCNAM=dracut-ng
-VERSION=${VERSION:-106}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-108}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -106,6 +106,9 @@ cat $CWD/elogind.conf | sed "s#/lib/#/lib${LIBDIRSUFFIX}/#g" > $PKG/etc/dracut.c
# it's scaring the children. ;-)
cat $CWD/omit_systemd_modules.conf > $PKG/etc/dracut.conf.d/omit_systemd_modules.conf.new
+# Set hostonly_cmdline=yes, otherwise encrypted root will fail.
+echo "hostonly_cmdline=yes" > $PKG/etc/dracut.conf.d/hostonly_cmdline_yes.conf.new
+
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null