From 666ce95c26bf120b10a8b0b48e86b95c21fc50f4 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 19 Mar 2011 17:12:52 -0400 Subject: [PATCH] Leave tar-ed volatile.img (#118) --- clean_images/clean-volatile.img.tar | Bin 10240 -> 10240 bytes templates.spec | 8 +++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/clean_images/clean-volatile.img.tar b/clean_images/clean-volatile.img.tar index 81622f2945e8fe0e15632de724661f91a3bebffc..5257a1029acf7947eaa63fc2fd87054fdb5d8481 100644 GIT binary patch delta 30 mcmZn&Xb70d7B|s=ZDNWMyOF7x8G}Ob Processing the clean-volatile.img..." -tar --sparse -xf {dest_dir}/clean-volatile.img.tar -C %{dest_dir} +echo "--> Processing the volatile.img..." +tar --sparse -xf %{dest_dir}/clean-volatile.img.tar -C %{dest_dir} +chown root.qubes %{dest_dir}/volatile.img +chmod 0660 %{dest_dir}/volatile.img if [ "$1" = 1 ] ; then # installing for the first time @@ -131,8 +133,8 @@ rm -rf $RPM_BUILD_ROOT %dir %{dest_dir} %ghost %{dest_dir}/root.img %{dest_dir}/root.img.part.* -%ghost %{dest_dir}/clean-volatile.img %{dest_dir}/clean-volatile.img.tar +%ghost %{dest_dir}/volatile.img %ghost %{dest_dir}/private.img %{dest_dir}/appvm-template.conf %{dest_dir}/netvm-template.conf