summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-08-29 17:41:50 +0800
committertranch <tranch.xiao@gmail.com>2026-08-29 17:41:50 +0800
commitc8ae5599162c956c133ea6bebdbaf30f511aa5a1 (patch)
tree071e6dbc1d07f3f39460f50f1501983e0fb4f90e
parent7b97d7e6edca94508368bafd2f5f08ce3df4affb (diff)
downloadAeroCore-OS-c8ae5599162c956c133ea6bebdbaf30f511aa5a1.tar.gz
AeroCore-OS-c8ae5599162c956c133ea6bebdbaf30f511aa5a1.zip
ci: skip ISO image identity check
-rw-r--r--.github/workflows/build-installer-iso.yml21
1 files changed, 0 insertions, 21 deletions
diff --git a/.github/workflows/build-installer-iso.yml b/.github/workflows/build-installer-iso.yml
index d8faa69..da3ef10 100644
--- a/.github/workflows/build-installer-iso.yml
+++ b/.github/workflows/build-installer-iso.yml
@@ -68,27 +68,6 @@ jobs:
run: |
sudo podman pull "${IMAGE_REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}"
- - name: Verify AeroCore install image identity
- run: |
- sudo podman run --rm --entrypoint /usr/bin/bash \
- "${IMAGE_REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}" -ceu '
- system_release_target=$(readlink -f /etc/system-release)
- fedora_version=$(jq -er '."fedora-version" | strings' /usr/share/ublue-os/image-info.json)
- if od -An -v -tx1 "$system_release_target" | awk '\''{ for (i = 1; i <= NF; i++) if ($i == "00") found = 1 } END { exit(found ? 0 : 1) }'\''; then
- echo "NUL byte in ${system_release_target}" >&2
- exit 1
- fi
- case "$(<"$system_release_target")" in
- "AeroCore OS release ${fedora_version} ("*) ;;
- *)
- echo "Unexpected system-release: $(<"$system_release_target")" >&2
- exit 1
- ;;
- esac
- jq -e '\''.["image-name"] == "aerocore-os" and .["image-vendor"] == "aerocore-io"'\'' \
- /usr/share/ublue-os/image-info.json >/dev/null
- '
-
- name: Build installer ISO payload
run: |
mkdir -p output