Verified Commit 0fa1c0e9 authored by David Runge's avatar David Runge
Browse files

mkarchiso: Do not run _build_iso_base once

archiso/mkarchiso:
Do not run `_build_iso_base` with `_run_once`, as it sets variables which are important to functions that are called
after it.
parent 9462e4c0
Pipeline #10028 passed with stages
in 43 minutes and 44 seconds
...@@ -1241,7 +1241,7 @@ _build_buildmode_bootstrap() { ...@@ -1241,7 +1241,7 @@ _build_buildmode_bootstrap() {
_build_buildmode_netboot() { _build_buildmode_netboot() {
local run_once_mode="${buildmode}" local run_once_mode="${buildmode}"
_run_once _build_iso_base _build_iso_base
if [[ -v cert_list ]]; then if [[ -v cert_list ]]; then
_run_once _sign_netboot_artifacts _run_once _sign_netboot_artifacts
fi fi
...@@ -1252,7 +1252,7 @@ _build_buildmode_netboot() { ...@@ -1252,7 +1252,7 @@ _build_buildmode_netboot() {
_build_buildmode_iso() { _build_buildmode_iso() {
local image_name="${iso_name}-${iso_version}-${arch}.iso" local image_name="${iso_name}-${iso_version}-${arch}.iso"
local run_once_mode="${buildmode}" local run_once_mode="${buildmode}"
_run_once _build_iso_base _build_iso_base
_run_once _build_iso_image _run_once _build_iso_image
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment