summaryrefslogtreecommitdiffstats
path: root/setup2hd
diff options
context:
space:
mode:
Diffstat (limited to 'setup2hd')
-rwxr-xr-xsetup2hd7
1 files changed, 7 insertions, 0 deletions
diff --git a/setup2hd b/setup2hd
index eefb154..c0c18a5 100755
--- a/setup2hd
+++ b/setup2hd
@@ -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/eliloconfig > $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