patch-iso supports multiple graft directories
Pungi patch iso now supports multiple graft directories. This should make usage more comfortable. Signed-off-by: Jiri Konecny <jkonecny@redhat.com>
This commit is contained in:
parent
479d17c033
commit
0cd089802f
3 changed files with 9 additions and 5 deletions
|
|
@ -92,7 +92,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.dir])
|
||||
graft_points = iso.get_graft_points([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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue