diff options
author | Eric Hameleers <alien@slackware.com> | 2016-03-09 13:31:03 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2016-03-09 13:31:03 +0100 |
commit | 2630c502aaedb0d1d1a42fafc23d25332fd4de65 (patch) | |
tree | 700bb32349abfe642d32d418e17fcafdf6082907 /make_slackware_live.sh | |
parent | 5069433b5de5127ba3b0e5c531de95b27537293a (diff) | |
download | liveslak-2630c502aaedb0d1d1a42fafc23d25332fd4de65.tar.gz liveslak-2630c502aaedb0d1d1a42fafc23d25332fd4de65.tar.xz |
Only add graphics drivers module matching the Linux kernel in the Live ISO.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-x | make_slackware_live.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |