diff options
Diffstat (limited to '')
-rwxr-xr-x | setup2hd.tpl (renamed from setup2hd) | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |