From 8d4fea789088c0ee09fc6d27b94aa426bc9b4002 Mon Sep 17 00:00:00 2001 From: Jiri Konecny Date: Wed, 19 Aug 2020 14:12:16 +0200 Subject: [PATCH] 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 --- pungi_utils/patch_iso.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pungi_utils/patch_iso.py b/pungi_utils/patch_iso.py index 8588d83b..8d3f9d1f 100644 --- a/pungi_utils/patch_iso.py +++ b/pungi_utils/patch_iso.py @@ -94,7 +94,7 @@ def run(log, opts): volume_id = opts.volume_id or iso.get_volume_id(opts.source) # 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" in graft_points: log.info("Adding ks.cfg to boot configs")