From 2630c502aaedb0d1d1a42fafc23d25332fd4de65 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 9 Mar 2016 13:31:03 +0100 Subject: Only add graphics drivers module matching the Linux kernel in the Live ISO. --- make_slackware_live.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'make_slackware_live.sh') diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 4f668be..35cd35c 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1617,10 +1617,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 [ -f ${LIVE_TOOLDIR}/graphics/*.sxz ]; then + if [ -f ${LIVE_TOOLDIR}/graphics/*${KVER}-*.sxz ]; then # Add custom (proprietary) graphics drivers: - echo "-- Adding binary GPU drivers." - cp ${LIVE_TOOLDIR}/graphics/*.sxz ${LIVE_MOD_OPT}/ + echo "-- Adding binary GPU drivers supporting kernel ${KVER}." + cp ${LIVE_TOOLDIR}/graphics/*${KVER}-*.sxz ${LIVE_MOD_OPT}/ fi fi -- cgit v1.2.3