2955199
@@ -36,6 +36,14 @@
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
see https://pagure.io/atomic-wg/issue/301
Can you make this:
if ! test -d /ostree/repo; then mkdir -p /ostree/repo ostree --repo=/ostree/repo init --mode=bare fi
So it's a no-op on the AH installer?
yeah - i guess the only reason to do this is if someone is pulling this specific kickstart and using it with the AH installer. - FYI: I was planning on removing this as soon as the bug is fixed in anaconda.
rebased
updated ^^
Looks sane to me.
Pull-Request has been merged by mohanboddu
see https://pagure.io/atomic-wg/issue/301