summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xmake_slackware_live.sh2
-rwxr-xr-xsetup2hd20
2 files changed, 17 insertions, 5 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 3d60085..77115b4 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1030,7 +1030,7 @@ if [ -f ${LIVE_ROOTDIR}/boot/vmlinuz-huge-* ]; then
mkdir -p ${LIVE_ROOTDIR}/usr/share/${LIVEMAIN}
cd ${LIVE_ROOTDIR}/usr/share/${LIVEMAIN}
gunzip -cd ${SL_PKGROOT}/../isolinux/initrd.img | cpio -i -d -H newc --no-absolute-filenames usr/lib/setup/* sbin/probe sbin/fixdate
- mv -i usr/lib/setup/* sbin/probe .
+ mv -i usr/lib/setup/* sbin/probe sbin/fixdate .
rm -r usr sbin
cd -
# Fix some occurrences of '/mnt' that should not be used in the Live ISO:
diff --git a/setup2hd b/setup2hd
index 9f6df9e..3107345 100755
--- a/setup2hd
+++ b/setup2hd
@@ -211,11 +211,16 @@ Press ENTER to return to the main menu." 16 68
) | dialog --title "INSTALLING SLACKWARE @LIVEDE@ LIVE TO DISK" --gauge \
"\nProcessing ${TOT_MODS} Slackware Live modules..." 8 65
- # Short intermezzo:
+ # Re-use some of the custom configuration from 0099-slackware_zzzconf-*.sxz
+ # (some of these may not be present but the command will not fail):
dialog --title "POST-INSTALL SLACKWARE @LIVEDE@ LIVE DATA" --infobox \
"\nCopying Live modifications to hard disk ..." 5 65
- # Pick the goodies from 0099-slackware_zzzconf-*.sxz:
- unsquashfs -f -dest $T_PX /mnt/livemedia/@LIVEMAIN@/system/0099*zzzconf*.sxz /etc/slackpkg /etc/X11/xdm/liveslak-xdm
+ unsquashfs -f -dest $T_PX /mnt/livemedia/@LIVEMAIN@/system/0099*zzzconf*.sxz \
+ /etc/profile.d/lang.sh \
+ /etc/rc.d/rc.keymap \
+ /etc/slackpkg \
+ /etc/X11/xorg.conf.d/30-keyboard.conf \
+ /etc/X11/xdm/liveslak-xdm
# Point xdm to the custom /etc/X11/xdm/liveslak-xdm/xdm-config:
sed -i ${T_PX}/etc/rc.d/rc.4 -e 's,bin/xdm -nodaemon,& -config /etc/X11/xdm/liveslak-xdm/xdm-config,'
@@ -223,13 +228,20 @@ Press ENTER to return to the main menu." 16 68
Slackware @LIVEDE@ Live Edition has been installed to your hard drive!
We installed the ${ACT_MODS} active modules (out of ${TOT_MODS} available).
+ If present, the following files were copied from the Live OS to your harddisk:
+ /etc/profile.d/lang.sh
+ /etc/rc.d/rc.keymap
+ /etc/slackpkg
+ /etc/X11/xorg.conf.d/30-keyboard.conf
+ /etc/X11/xdm/liveslak-xdm
+
After finishing system configuration and before rebooting, you can add any further Live modules from /@LIVEMAIN@/addons/ and /@LIVEMAIN@/optional/ to your hard drive, using a command similar to this:
# unsquashfs -f -dest $T_PX /mnt/livemedia/@LIVEMAIN@/addons/some_module.sxz
EOF
dialog --title "POST INSTALL HINTS AND TIPS" --msgbox "`cat $TMP/tempmsg`" \
- 17 65
+ 20 65
rm $TMP/tempmsg
# --------------------------------------------- #