From e2f5ad76af3912fe1f7b74bf5137856b841c64c4 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Mon, 4 Oct 2010 19:59:11 +0200 Subject: [PATCH] Create /home and /usr/local symlinks on the template's root fs This requires a new qubes-core-appvm as well, see commit 8ec85677274e7fe986d6465dec4cf25565c9e7ba in qubes-core. --- qubeize_image_appvm | 8 ++++++++ rpms_to_install_appvm_x64/qubes-core-appvm | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/qubeize_image_appvm b/qubeize_image_appvm index a6ed896..896d165 100755 --- a/qubeize_image_appvm +++ b/qubeize_image_appvm @@ -54,6 +54,14 @@ echo "--> Installing 3rd party apps" echo "--> Copying DispVM dotfiles dir..." cp dispvm-dotfiles.tbz mnt/etc/ +echo "--> Linking /home to /rw/home..." +mv mnt/home mnt/home.orig +ln -sf /rw/home mnt/home + +echo "--> Linking /usr/local to /rw/usrlocal..." +mv mnt/usr/local mnt/usr/local.orig +ln -sf /rw/usrlocal mnt/usr/local + echo "--> Unmounting $IMG" umount mnt diff --git a/rpms_to_install_appvm_x64/qubes-core-appvm b/rpms_to_install_appvm_x64/qubes-core-appvm index 03a4dd2..816a624 120000 --- a/rpms_to_install_appvm_x64/qubes-core-appvm +++ b/rpms_to_install_appvm_x64/qubes-core-appvm @@ -1 +1 @@ -../../core/rpm/x86_64/qubes-core-appvm-1.3.8-1.x86_64.rpm \ No newline at end of file +../../core/rpm/x86_64/qubes-core-appvm-1.3.13-1.x86_64.rpm \ No newline at end of file