From 7db353ccbcbdbe94bba7edfc0cc5a8364cb247ed Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 22 Jan 2017 17:23:06 +0100 Subject: setup2hd: patch (e)liloconfig on the target to remove hardcoded /mnt --- setup2hd | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'setup2hd') 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 -- cgit v1.2.3