createiso: Make media.repo sticky
This means the file will be included on all ISOs when splitting. JIRA: COMPOSE-3787 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
7aa65f00c2
commit
b8e41d9b1b
@ -326,7 +326,7 @@ def split_iso(compose, arch, variant, no_split=False, logger=None):
|
|||||||
extra_files_dir = compose.paths.work.extra_files_dir(arch, variant)
|
extra_files_dir = compose.paths.work.extra_files_dir(arch, variant)
|
||||||
|
|
||||||
# scan extra files to mark them "sticky" -> they'll be on all media after split
|
# scan extra files to mark them "sticky" -> they'll be on all media after split
|
||||||
extra_files = set()
|
extra_files = set(["media.repo"])
|
||||||
for root, dirs, files in os.walk(extra_files_dir):
|
for root, dirs, files in os.walk(extra_files_dir):
|
||||||
for fn in files:
|
for fn in files:
|
||||||
path = os.path.join(root, fn)
|
path = os.path.join(root, fn)
|
||||||
|
Loading…
Reference in New Issue
Block a user