-def handle_addon_copy(filename, dst, iso_mount):
+def handle_addon_copy(filename, dst, iso_mount, ignore_errors=False):
"""handle copy of optional addons
@filename: filename of the addon
@dst: destination directory
@iso_mount: location of the iso mount
"""handle copy of optional addons
@filename: filename of the addon
@dst: destination directory
@iso_mount: location of the iso mount
"""
file_location = search_file(filename, iso_mount)
if file_location is None:
"""
file_location = search_file(filename, iso_mount)
if file_location is None:
handle_addon_copy('memtest', addons, iso_mount)
# gpxe.lkrn: got replaced by ipxe
handle_addon_copy('memtest', addons, iso_mount)
# gpxe.lkrn: got replaced by ipxe
- handle_addon_copy('gpxe.lkrn', addons, iso_mount)
+ handle_addon_copy('gpxe.lkrn', addons, iso_mount, ignore_errors=True)