ci/b2c: always define cmdline_extras
Just make it an empty string when undefined Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653>
This commit is contained in:
committed by
Marge Bot
parent
86ee903b38
commit
50da22812d
@@ -95,8 +95,7 @@ values['local_container'] = values['local_container'].replace(
|
||||
'{{ fdo_proxy_registry }}'
|
||||
)
|
||||
|
||||
if 'B2C_KERNEL_CMDLINE_EXTRAS' in environ:
|
||||
values['cmdline_extras'] = environ['B2C_KERNEL_CMDLINE_EXTRAS']
|
||||
values['cmdline_extras'] = environ.get('B2C_KERNEL_CMDLINE_EXTRAS', '')
|
||||
|
||||
f = open(path.splitext(path.basename(args.template))[0], "w")
|
||||
f.write(template.render(values))
|
||||
|
||||
Reference in New Issue
Block a user