From 9a96ec849d4ffb3651d22624c6c4f202e8a8e42a Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Fri, 22 Jul 2016 01:22:59 +0200 Subject: make_slackware_live.sh: add only the graphics driver module relevant to the OS. --- make_slackware_live.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make_slackware_live.sh') 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 -- cgit v1.2.3