From f56a993b84908969ed1804dc341601331cff5013 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 16 Jul 2011 02:03:28 +0200 Subject: [PATCH] vm: move dom0-updates dir to core-appvm package (#198) At core-commonvm installation stage "user" can no exists. --- rpm_spec/core-appvm.spec | 2 ++ rpm_spec/core-commonvm.spec | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rpm_spec/core-appvm.spec b/rpm_spec/core-appvm.spec index ce783b2..5822770 100644 --- a/rpm_spec/core-appvm.spec +++ b/rpm_spec/core-appvm.spec @@ -91,6 +91,7 @@ mkdir -p $RPM_BUILD_ROOT/mnt/removable mkdir -p $RPM_BUILD_ROOT/etc/qubes_rpc cp qubes.Filecopy $RPM_BUILD_ROOT/etc/qubes_rpc cp qubes.OpenInVM $RPM_BUILD_ROOT/etc/qubes_rpc +mkdir -p $RPM_BUILD_ROOT/var/lib/qubes/dom0-updates mkdir -p $RPM_BUILD_ROOT/etc/X11 cp xorg-preload-apps.conf $RPM_BUILD_ROOT/etc/X11 @@ -161,6 +162,7 @@ rm -rf $RPM_BUILD_ROOT %attr(700,user,user) /home_volatile/user /etc/X11/xorg-preload-apps.conf %dir /var/run/qubes +%dir %attr(0775,user,user) /var/lib/qubes/dom0-updates /etc/sudoers.d/qubes %package devel diff --git a/rpm_spec/core-commonvm.spec b/rpm_spec/core-commonvm.spec index d387132..ad7b300 100644 --- a/rpm_spec/core-commonvm.spec +++ b/rpm_spec/core-commonvm.spec @@ -85,7 +85,6 @@ mkdir -p $RPM_BUILD_ROOT/etc/yum/post-actions cp qubes_trigger_sync_appmenus.action $RPM_BUILD_ROOT/etc/yum/post-actions/ mkdir -p $RPM_BUILD_ROOT/usr/lib/qubes cp qubes_trigger_sync_appmenus.sh $RPM_BUILD_ROOT/usr/lib/qubes/ -mkdir -p $RPM_BUILD_ROOT/var/lib/qubes/dom0-updates install -D qubes_core.modules $RPM_BUILD_ROOT/etc/sysconfig/modules/qubes_core.modules