diff --git a/iso_files/build.sh b/iso_files/build.sh index 94050eb..b941dde 100755 --- a/iso_files/build.sh +++ b/iso_files/build.sh @@ -50,7 +50,13 @@ fi # Clean up the temporary storage configuration so that runtime podman uses the default rm -f /etc/containers/storage.conf -# Install required packages + +ANACONDA=( + anaconda-live + anaconda-webui + pykickstart # verify ks files +) + dnf install -y \ dracut-live \ livesys-scripts \ @@ -58,11 +64,10 @@ dnf install -y \ jq \ rsync \ desktop-file-utils \ - anaconda-live \ - anaconda-webui \ libblockdev-btrfs \ libblockdev-lvm \ - libblockdev-dm + libblockdev-dm \ + "${ANACONDA[@]}" kernel=$(find /usr/lib/modules -maxdepth 1 -type d -printf '%P\n' | grep . | head -1) DRACUT_NO_XATTR=1 dracut -v --force --zstd --reproducible --no-hostonly \ diff --git a/iso_files/configure_iso_anaconda.sh b/iso_files/configure_iso_anaconda.sh index 5c0797a..afe0228 100755 --- a/iso_files/configure_iso_anaconda.sh +++ b/iso_files/configure_iso_anaconda.sh @@ -119,3 +119,8 @@ mokutil --timeout -1 || : echo -e "$ENROLLMENT_PASSWORD\n$ENROLLMENT_PASSWORD" | mokutil --import "$SECUREBOOT_KEY" || : %end EOF + +# debug +ksflatten -c /usr/share/anaconda/interactive-defaults.ks + +ksvalidator /usr/share/anaconda/interactive-defaults.ks