aboutsummaryrefslogtreecommitdiff
path: root/system/dracut
diff options
context:
space:
mode:
authorMatt Egger <bru.barwal@sdf.org>2023-03-17 21:07:46 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-03-25 10:01:47 +0700
commit857dbed69d973800e7301402d0c9ca4424d6cf07 (patch)
tree520da04271ec6d4830bb245df2c8d152725a18d7 /system/dracut
parent4bfc758b5b20e94c0d2f4d41bafcc24b7d637bb4 (diff)
system/dracut: Updated for version 059.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/dracut')
-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 1bda2a450592..12a5a7bba438 100644
--- a/system/dracut/dracut.SlackBuild
+++ b/system/dracut/dracut.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dracut
VERSION=${VERSION:-059}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,6 +76,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# edit upstream scripts to use architecture appropiate libdir location
+sed -i "s|/usr/lib/dracut|/usr/lib$LIBDIRSUFFIX/dracut|" *.sh
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -83,7 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man \
+ --mandir=/usr/man
make
make install DESTDIR=$PKG