atomic: temporary workaround for anaconda bug

see https://pagure.io/atomic-wg/issue/301
This commit is contained in:
Dusty Mabe 2017-07-13 20:17:55 -04:00
parent 57aa58c6e7
commit 295519948b
No known key found for this signature in database
GPG Key ID: 3302DBD73952E671

View File

@ -36,6 +36,14 @@ ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://
reboot
# temporarily workaround https://pagure.io/atomic-wg/issue/301
%pre
if ! test -d /ostree/repo; then
mkdir -p /ostree/repo
ostree --repo=/ostree/repo init --mode=bare
fi
%end
%post --erroronfail
# See https://github.com/projectatomic/rpm-ostree/issues/42
# Set the ostree repo to the location we want users to upgrade from