#347 Move Workstation Ostree installer to separate variant
Merged 6 years ago by ausil. Opened 6 years ago by lsedlar.
lsedlar/pungi-fedora ws-ostree-variant  into  master

file modified
+1 -1
@@ -800,7 +800,7 @@ 

              'failable': ['*'],

          }

      }),

-     ("^Workstation$", {

+     ("^WorkstationOstree$", {

          "x86_64": {

              "repo": "Everything",

              "release": None,

file modified
+8
@@ -133,6 +133,14 @@ 

              <package>fedora-productimg-workstation</package>

          </buildinstallpackages>

      </variant>

+     <variant id="WorkstationOstree" name="Workstation Ostree" type="variant" is_empty="true">

+         <arches>

+             <arch>aarch64</arch>

+             <arch>armhfp</arch>

+             <arch>i386</arch>

+             <arch>x86_64</arch>

+         </arches>

+     </variant>

      <variant name="Cloud" id="Cloud" type="variant">

          <arches>

              <arch>aarch64</arch>

Creating the image requires running lorax. There is however already one lorax instance being run in the buildinstall phase. When the second one runs, it overwrites the outputs from first one and people expecting to boot netinst over PXE are instead getting ostree workstation.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1477916
Relates: https://pagure.io/pungi/issue/695

rebased onto c1a92cd

6 years ago

Pull-Request has been merged by ausil

6 years ago

is this causing this failure:

2017-09-13 11:19:10 [OSTREE_INSTALLER] [INFO    ] [FAIL] Ostree installer (variant WorkstationOstree, arch x86_64) failed, but going on anyway.
2017-09-13 11:19:10 [OSTREE_INSTALLER] [INFO    ] ('Could not create volume ID longer than 32 bytes, options are %r', ['Fedora-WSOstree-ostree-x86_64-rawh'])

from log

@dustymabe: Yes, these should get it working again (except the final outputs will be in a different location).

https://pagure.io/pungi-fedora/pull-request/355
https://pagure.io/pungi-fedora/pull-request/356

Metadata