diff --git a/iso/empanadas/empanadas/scripts/build_iso.py b/iso/empanadas/empanadas/scripts/build_iso.py index b35cdf2..fbf1d06 100755 --- a/iso/empanadas/empanadas/scripts/build_iso.py +++ b/iso/empanadas/empanadas/scripts/build_iso.py @@ -10,7 +10,7 @@ parser = argparse.ArgumentParser(description="ISO Compose") parser.add_argument('--release', type=str, help="Major Release Version or major-type (eg 9-beta)", required=True) parser.add_argument('--isolation', type=str, help="mock isolation mode") -parser.add_argument('--rc', action='store_true', help="Release Candidate") +parser.add_argument('--rc', action='store_true', help="Release Candidate, Beta, RLN") parser.add_argument('--local-compose', action='store_true', help="Compose Directory is Here") parser.add_argument('--logger', type=str) results = parser.parse_args() diff --git a/iso/empanadas/empanadas/scripts/build_iso_extra.py b/iso/empanadas/empanadas/scripts/build_iso_extra.py index a646d12..9fe9c05 100755 --- a/iso/empanadas/empanadas/scripts/build_iso_extra.py +++ b/iso/empanadas/empanadas/scripts/build_iso_extra.py @@ -9,7 +9,7 @@ from empanadas.util import IsoBuild parser = argparse.ArgumentParser(description="ISO Compose") parser.add_argument('--release', type=str, help="Major Release Version or major-type (eg 9-beta)", required=True) -parser.add_argument('--rc', action='store_true', help="Release Candidate") +parser.add_argument('--rc', action='store_true', help="Release Candidate, Beta, RLN") parser.add_argument('--arch', type=str, help="Architecture") parser.add_argument('--isolation', type=str, help="Mock Isolation") parser.add_argument('--local-compose', action='store_true', help="Compose Directory is Here") diff --git a/iso/empanadas/empanadas/templates/buildExtraImage.tmpl.sh b/iso/empanadas/empanadas/templates/buildExtraImage.tmpl.sh index 8f145de..ae9b5cf 100644 --- a/iso/empanadas/empanadas/templates/buildExtraImage.tmpl.sh +++ b/iso/empanadas/empanadas/templates/buildExtraImage.tmpl.sh @@ -4,7 +4,7 @@ set -ex {% if extra_iso_mode == "podman" %} {{ lorax_pkg_cmd }} mkdir -p {{ compose_work_iso_dir }}/{{ arch }} -cd {{ compose_work_iso_dir }}/{{ arch }} +cd {{ compose_work_iso_dir }}/{{ arch }} test -f {{ isoname }} || { echo "!! ISO ALREDY EXISTS !!"; exit 1; } {% else %} cd /builddir