From b8e41d9b1bafc428e31d5c3a5f302d49b1e05034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Mon, 2 Sep 2019 14:51:25 +0200 Subject: [PATCH] createiso: Make media.repo sticky MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This means the file will be included on all ISOs when splitting. JIRA: COMPOSE-3787 Signed-off-by: Lubomír Sedlář --- pungi/phases/createiso.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pungi/phases/createiso.py b/pungi/phases/createiso.py index 1c9a38aa..1445667f 100644 --- a/pungi/phases/createiso.py +++ b/pungi/phases/createiso.py @@ -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) # 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 fn in files: path = os.path.join(root, fn)