diff --git a/appvm/qubes_core b/appvm/qubes_core index 06054b5e..714727a2 100755 --- a/appvm/qubes_core +++ b/appvm/qubes_core @@ -67,18 +67,17 @@ start() if ! [ -d /rw/home ] ; then echo echo "--> Virgin boot of the VM: Linking /home to /rw/home" - mv /home /home.orig - mkdir -p /rw/config - mkdir -p /rw/home - ln -s /rw/home/ /home - cp -a /home.orig/user /home - touch /rw/config/rc.local - rm -fr /home.orig - touch /var/lib/qubes/first_boot_completed - mv /usr/local /usr/local.orig - ln -s /rw/usrlocal /usr/local - cp -a /usr/local.orig /rw/usrlocal + mkdir -p /rw/config + touch /rw/config/rc.local + + mkdir -p /rw/home + cp -a /home.orig/user /home + + mkdir -p /rw/usrlocal + cp -a /usr/local.orig/* /usr/local + + touch /var/lib/qubes/first_boot_completed fi fi