sync.sh: also copy out /etc files

We do install one thing there: the dbus config file.

Closes: #896
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2017-07-25 09:48:36 -07:00 committed by Atomic Bot
parent a2878de382
commit 53978f6f03

View File

@ -45,7 +45,9 @@ else
# then do this in the VM
set -x
ostree admin unlock || :
# only copy /usr and /etc
rsync -rlv /var/roothome/sync/insttree/usr/ /usr/
rsync -rlv /var/roothome/sync/insttree/etc/ /etc/
restorecon -v /usr/bin/rpm-ostree
restorecon -v /usr/libexec/rpm-ostreed
mkdir -p /etc/systemd/system/rpm-ostreed.service.d