Skip to content

Commit

Permalink
kiwi/builder/live: Log the correct value for Application ID
Browse files Browse the repository at this point in the history
Since it is now possible to set a custom application ID, we want
to see this when it is being used for the image.
  • Loading branch information
Conan-Kudo committed Aug 24, 2024
1 parent 2b43586 commit 0f0109d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kiwi/builder/live.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ def __init__(
Defaults.get_volume_id()
self.mbrid = SystemIdentifier()
self.mbrid.calculate_id()
self.application_id = self.xml_state.build_type.get_application_id() or \
self.mbrid.get_id()
self.publisher = xml_state.build_type.get_publisher() or \
Defaults.get_publisher()
self.custom_args = custom_args
Expand Down Expand Up @@ -131,7 +133,7 @@ def create(self) -> Result:

# custom iso metadata
log.info('Using following live ISO metadata:')
log.info('--> Application id: {0}'.format(self.mbrid.get_id()))
log.info('--> Application id: {0}'.format(self.application_id))
log.info('--> Publisher: {0}'.format(self.publisher))
log.info('--> Volume id: {0}'.format(self.volume_id))
custom_iso_args = {
Expand All @@ -140,7 +142,7 @@ def create(self) -> Result:
'preparer': Defaults.get_preparer(),
'volume_id': self.volume_id,
'mbr_id': self.mbrid.get_id(),
'application_id': self.xml_state.build_type.get_application_id(),
'application_id': self.application_id,
'efi_mode': self.firmware.efi_mode(),
'legacy_bios_mode': self.firmware.legacy_bios_mode()
}
Expand Down

0 comments on commit 0f0109d

Please sign in to comment.