diff options
author | Eric Hameleers <alien@slackware.com> | 2017-01-22 17:23:06 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2017-01-22 17:23:06 +0100 |
commit | 7db353ccbcbdbe94bba7edfc0cc5a8364cb247ed (patch) | |
tree | 525bcecb5673093258944eb8d3be93a4007f03fa /setup2hd | |
parent | 83e928f040123f591f37b3d5c8162374ad3f7ec4 (diff) | |
download | liveslak-7db353ccbcbdbe94bba7edfc0cc5a8364cb247ed.tar.gz liveslak-7db353ccbcbdbe94bba7edfc0cc5a8364cb247ed.tar.xz |
setup2hd: patch (e)liloconfig on the target to remove hardcoded /mnt
Diffstat (limited to 'setup2hd')
-rwxr-xr-x | setup2hd | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |