Require policy comparison tools before Flatpak sideload import
This commit is contained in:
parent
41623ed737
commit
27eadcfb63
2 changed files with 7 additions and 1 deletions
|
|
@ -9,6 +9,11 @@ The persistent Flatpak cache is refreshed each build, with a verified matching
|
|||
previous export available on refresh failure. See infrastructure's
|
||||
`deploy/RELEASE-CYCLE.md` for the bounded operational policy.
|
||||
|
||||
The isolated preparer explicitly installs `diffutils` and requires `cmp` before
|
||||
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.
|
||||
|
||||
`enabled: false` in the seed policy disables the legacy online first-login seeder;
|
||||
`delivery: installation-media` identifies the installer-owned application set.
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@ test "$(id -u)" = 0
|
|||
test -f /run/archipelago-flatpak-seed-builder
|
||||
mkdir -p /seed/evidence
|
||||
exec > >(tee -a /seed/evidence/prepare.log) 2>&1
|
||||
pacman -S --needed --noconfirm flatpak python
|
||||
pacman -S --needed --noconfirm flatpak python diffutils
|
||||
command -v cmp >/dev/null
|
||||
date --utc --iso-8601=seconds > /seed/evidence/started
|
||||
pacman -Q > /seed/evidence/builder-packages.txt
|
||||
if [[ -f /cached-seed/flathub.flatpakrepo ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue