[node-patches] Change in ovirt-node[node-3.0]: recipe: Relabel files after installation

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Dec 18 17:58:48 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: recipe: Relabel files after installation
......................................................................

recipe: Relabel files after installation

Change-Id: I1780fa7b58ce07e8f57022528fdb792dbcc09795
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M recipe/common-post.ks
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/45/22545/1

diff --git a/recipe/common-post.ks b/recipe/common-post.ks
index b0b5aa6..16e1e24 100644
--- a/recipe/common-post.ks
+++ b/recipe/common-post.ks
@@ -4,6 +4,7 @@
 export PATH
 
 # cleanup rpmdb to allow non-matching host and chroot RPM versions
+echo "Removing yumdb data"
 rm -f /var/lib/rpm/__db*
 
 echo "Creating shadow files"
@@ -15,6 +16,10 @@
 echo "Lock root account"
 passwd -l root
 
+echo "Relabeling files"
+/usr/sbin/fixfiles -R -a restore
+
+echo "Configuring libvirt"
 # make sure we don't autostart virbr0 on libvirtd startup
 rm -f /etc/libvirt/qemu/networks/autostart/default.xml
 


-- 
To view, visit http://gerrit.ovirt.org/22545
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1780fa7b58ce07e8f57022528fdb792dbcc09795
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: node-3.0
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list