|
|
|
@ -64,20 +64,19 @@ class ClBuilderMenuAction(Action):
|
|
|
|
|
'message': __("Creating the ISO images menu"),
|
|
|
|
|
'method': 'Builder.create_iso_grub_cfg(cl_builder_livemenu_path)',
|
|
|
|
|
'condition': lambda Get: (
|
|
|
|
|
Get('os_root_type') == 'hdd' and
|
|
|
|
|
Get('builder.cl_builder_livemenu_path') != "")
|
|
|
|
|
},
|
|
|
|
|
{'name': 'grub:clear_grub_menu',
|
|
|
|
|
'message': __("Clearing the ISO images menu"),
|
|
|
|
|
'method': 'Builder.clear_iso_grub_cfg(cl_livemenu_path)',
|
|
|
|
|
'condition': lambda Get: (
|
|
|
|
|
Get('os_root_type') == 'hdd' and
|
|
|
|
|
Get('os_root_type_ext') in RootType.HDDs and
|
|
|
|
|
Get('builder.cl_builder_livemenu_path') == "")
|
|
|
|
|
},
|
|
|
|
|
{'name': 'grub:setup_grub',
|
|
|
|
|
'message': __("Configuration grub for {cl_builder_livemenu_path}"),
|
|
|
|
|
'method': 'Builder.setup_package("sys-boot/grub")',
|
|
|
|
|
'condition': lambda Get: (Get('os_root_type') == "hdd" and
|
|
|
|
|
'condition': lambda Get: (Get('os_root_type_ext') in RootType.HDDs and
|
|
|
|
|
Get('builder.cl_builder_livemenu_path') !=
|
|
|
|
|
Get('builder.cl_livemenu_path'))
|
|
|
|
|
},
|
|
|
|
|