summaryrefslogtreecommitdiffstats
path: root/setup2hd.tpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsetup2hd.tpl (renamed from setup2hd)9
1 files changed, 8 insertions, 1 deletions
diff --git a/setup2hd b/setup2hd.tpl
index eefb154..8bd7eed 100755
--- a/setup2hd
+++ b/setup2hd.tpl
@@ -24,7 +24,7 @@
#
# As always, bug reports, suggestions, etc: volkerdi@slackware.com
#
-# Modifications 2016 by Eric Hameleers <alien@slackware.com>
+# Modifications 2016, 2017 by Eric Hameleers <alien@slackware.com>
#
# The Slackware setup depends on english language settings because it
@@ -285,6 +285,13 @@ EOF
fi
if [ "$MAINSELECT" = "CONFIGURE" ]; then
+ # Patch (e)liloconfig on the target systems to remove hardcoded /mnt:
+ if [ -f /sbin/liloconfig -a -f $T_PX/sbin/liloconfig ]; then
+ cat /sbin/liloconfig > $T_PX/sbin/liloconfig
+ fi
+ if [ -f /usr/sbin/eliloconfig -a -f $T_PX/usr/sbin/eliloconfig ]; then
+ cat /usr/sbin/eliloconfig > $T_PX/usr/sbin/eliloconfig
+ fi
SeTconfig
REPLACE_FSTAB=Y
if [ -r $TMP/SeTnative ]; then