Fix pungi-patch-iso to work with a new compose top dir solution
get_graft_points has changed but without adapting pungi-patch-iso utility so the exception was raised when executed. Fixes: https://pagure.io/pungi/issue/1438 Signed-off-by: Jiri Konecny <jkonecny@redhat.com>
This commit is contained in:
parent
981b69c699
commit
8d4fea7890
@ -94,7 +94,7 @@ def run(log, opts):
|
|||||||
volume_id = opts.volume_id or iso.get_volume_id(opts.source)
|
volume_id = opts.volume_id or iso.get_volume_id(opts.source)
|
||||||
|
|
||||||
# create graft points from mounted source iso + overlay dir
|
# create graft points from mounted source iso + overlay dir
|
||||||
graft_points = iso.get_graft_points([work_dir] + opts.dirs)
|
graft_points = iso.get_graft_points(work_dir, [work_dir] + opts.dirs)
|
||||||
# if ks.cfg is detected, patch syslinux + grub to use it
|
# if ks.cfg is detected, patch syslinux + grub to use it
|
||||||
if "ks.cfg" in graft_points:
|
if "ks.cfg" in graft_points:
|
||||||
log.info("Adding ks.cfg to boot configs")
|
log.info("Adding ks.cfg to boot configs")
|
||||||
|
Loading…
Reference in New Issue
Block a user