diff --git a/FLATPAK-OFFLINE.md b/FLATPAK-OFFLINE.md index cd0439c..b9092a8 100644 --- a/FLATPAK-OFFLINE.md +++ b/FLATPAK-OFFLINE.md @@ -14,6 +14,14 @@ checking the cached policy. Without that dependency the conditional comparison could silently skip sideload import and redownload runtimes. The dependency is required even though the host already has comparison tools. +The ISO adapter resolves the cache's `current` symlink before copying the seed, +copies its contents into a fresh directory and verifies the copied checksums. +Run `20261106T114048Z` exposed that `cp -a current destination` preserved a relative +symlink that became dangling inside the build and ISO profile. Its image/layer +commits had already been built; the authorized recovery resumes ISO packaging +with verified seed directories, then repeats installed-VM acceptance. Completion +of that recovery and publication must be checked separately. + `enabled: false` in the seed policy disables the legacy online first-login seeder; `delivery: installation-media` identifies the installer-owned application set. diff --git a/adapters/build-iso.sh b/adapters/build-iso.sh index ab7e77a..b5da203 100644 --- a/adapters/build-iso.sh +++ b/adapters/build-iso.sh @@ -70,10 +70,12 @@ if [[ $profile == gnome-probe ]]; then ARCHIPELAGO_LAYER_DELTA fi if [[ $profile == gnome-probe ]]; then - seed=${ARCHIPELAGO_FLATPAK_SEED:?GNOME requires a prepared installation-media Flatpak seed} + seed=$(realpath -e "${ARCHIPELAGO_FLATPAK_SEED:?GNOME requires a prepared installation-media Flatpak seed}") test -f "$seed/SHA256SUMS" (cd "$seed"; sha256sum --quiet --check SHA256SUMS) - cp -a "$seed" "$work/flatpak-seed" + mkdir "$work/flatpak-seed" + cp -a "$seed/." "$work/flatpak-seed/" + (cd "$work/flatpak-seed"; sha256sum --quiet --check SHA256SUMS) cat > "$work/flatpak-import.sh" <<'ARCHIPELAGO_FLATPAK_IMPORT_SCRIPT' @@FLATPAK_IMPORT@@ ARCHIPELAGO_FLATPAK_IMPORT_SCRIPT