diff options
-rw-r--r-- | move/move.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/move/move.pm b/move/move.pm index 382bc180a..fb1d1fc4f 100644 --- a/move/move.pm +++ b/move/move.pm @@ -106,6 +106,8 @@ sub init { mkdir "/etc/$_" foreach qw(X11); touch '/etc/modules.conf'; + touch '/etc/mtab'; #- prevents from creating a link to the RO volume thus failing substInFile from fs::umount + #- these files need be writable but we need a sensible first contents system("cp /image/etc/$_ /etc") foreach qw(passwd passwd- group sudoers fstab); @@ -146,7 +148,7 @@ sub init { #- or O_RDWR -> in that case, they should be handled in the #- OVERWRITE section of data/etcfiles) foreach (chomp_(cat_('/image/move/all-etcfiles'))) { - -f or symlinkf_short("/image/$_", $_); + -f or symlinkf_short("/image$_", $_); } #- free up stage1 memory |