Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-5375

osbuild-image-info: don't fail on no systemd default target

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Image Builder
    • None

      Some image types don't have systemd installed and don't have any default target set, e.g. 'tar' image type. Running osbuild-image-info on such image would result in traceback (e.g. [1]). Handle this case gracefully.

      [1] https://gitlab.com/redhat/services/products/image-builder/ci/osbuild/-/jobs/8911649248#L6480

      Add a test case for this change.

      /jira-epic COMPOSER-2318

              thozza@redhat.com Tomas Hozza
              imagebuilder-bot Image-Builder Bot
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: