aboutsummaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-07-22 01:22:59 +0200
committer Eric Hameleers <alien@slackware.com>2016-07-22 01:22:59 +0200
commit9a96ec849d4ffb3651d22624c6c4f202e8a8e42a (patch)
tree74b37f72bd31ef43cafba5c55e1dd0391ddd5054 /make_slackware_live.sh
parent2b7133e2802f4148d5bfc8aeecb5ac8052c27fdb (diff)
downloadliveslak-9a96ec849d4ffb3651d22624c6c4f202e8a8e42a.tar.gz
liveslak-9a96ec849d4ffb3651d22624c6c4f202e8a8e42a.tar.xz
make_slackware_live.sh: add only the graphics driver module relevant to the OS.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 75cff64..abbe5b7 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1879,10 +1879,10 @@ if [ "$LIVEDE" != "XFCE" -a "$LIVEDE" != "SLACKWARE" ]; then
# however the SLACKWARE ISO should not have any non-Slackware content.
# You can 'cheat' when building the SLACKWARE ISO by copying the graphics
# drivers into the 'optional' directory yourself.
- if ls ${LIVE_TOOLDIR}/graphics/*${KVER}-*.sxz 1>/dev/null 2>&1 ; then
+ if ls ${LIVE_TOOLDIR}/graphics/*${KVER}-${SL_VERSION}-${SL_ARCH}.sxz 1>/dev/null 2>&1 ; then
# Add custom (proprietary) graphics drivers:
echo "-- Adding binary GPU drivers supporting kernel ${KVER}."
- cp ${LIVE_TOOLDIR}/graphics/*${KVER}-*.sxz ${LIVE_MOD_OPT}/
+ cp ${LIVE_TOOLDIR}/graphics/*${KVER}-${SL_VERSION}-${SL_ARCH}.sxz ${LIVE_MOD_OPT}/
fi
fi