ilbers / isar

Integration System for Automated Root filesystem generation
Other
183 stars 73 forks source link

Build isar image installer with empty target image #104

Closed liuyiwh closed 5 months ago

liuyiwh commented 5 months ago

I am trying to use kas menu to build an isar image installer without payload (according to the menu help info, it is allowed). What I did is to keep the input field with the label "INSTALLER_TARGET_IMAGE" as blank. The build process failed with the following:

NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES ''

I guess the issue is related with the the multiple configuration setting in kas/image/isar-image-installer.yaml :

BBMULTICONFIG += "isar-installer installer-target"

I just temporarily locally changed it as below and can solved it.

BBMULTICONFIG += "${@['isar-installer','isar-installer installer-target'][d.getVar('INSTALLER_TARGET_IMAGE') != '']}"

Not sure if it is the best way to fix it. @gylstorffq

liuyiwh commented 5 months ago

It works now. Thx!