aboutsummaryrefslogtreecommitdiff
path: root/system/vhba-module/vhba-module.SlackBuild
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2023-04-27 20:30:59 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-29 17:20:33 +0700
commitdedbb45d13551a8655e659e0593d9b1e146d50fc (patch)
tree97cb5559ccebb3a010f6defc4cb6a97c7c29db47 /system/vhba-module/vhba-module.SlackBuild
parent236f45448a4e3efdb6f9d499dbfc0fdf7f43d878 (diff)
system/vhba-module: Allow building with custom kernel versions
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/vhba-module/vhba-module.SlackBuild')
-rw-r--r--system/vhba-module/vhba-module.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/vhba-module/vhba-module.SlackBuild b/system/vhba-module/vhba-module.SlackBuild
index 42431011aaebe..8a138ce5f4375 100644
--- a/system/vhba-module/vhba-module.SlackBuild
+++ b/system/vhba-module/vhba-module.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2008-2009 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2010-2012 Niels Horn, Rio de Janeiro, RJ, Brazil <niels.horn@gmail.com>
-# Copyright 2018-2022 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2018-2023 Isaac Yu <isaacyu1@isaacyu1.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -84,7 +84,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+sed "s%@KERNEL@%$KERNEL%" $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_$PKGKERNEL-$SLKARCH-$BUILD$TAG.$PKGTYPE