#261 atomic: temporary workaround for anaconda bug
Merged 6 years ago by mohanboddu. Opened 6 years ago by dustymabe.
dustymabe/fedora-kickstarts dusty-rawhide  into  master

file modified
+8
@@ -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

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

6 years ago

Pull-Request has been merged by mohanboddu

6 years ago