Initialize isolated service checkout identities before extension installation
This commit is contained in:
parent
609db0e08d
commit
b73c9c1a2b
2 changed files with 13 additions and 0 deletions
|
|
@ -124,6 +124,14 @@ Required before claiming hardware readiness:
|
|||
|
||||
## Execution order after this audit
|
||||
|
||||
Run `20261109T014200Z` passed local package DB validation and initramfs generation.
|
||||
Ownership validation rejected base /usr/bin/write (GID 5): the service checkout
|
||||
had not run systemd-sysusers, unlike the legacy download path. Service install now
|
||||
runs the same base sysusers initialization inside the isolated checkout before
|
||||
install/validation. Host-versus-staging identity checks remain mandatory and factory
|
||||
account files are restored before commit as before. Normal-pipeline confirmation
|
||||
is pending; no release was published by this run.
|
||||
|
||||
Run `20261108T225854Z` passed JSON download and exact nano installation in the
|
||||
private checkout. Validation then failed because `pacman -Dk` initialized the
|
||||
runtime DownloadUser=alpm from pacman.conf, absent in this checkout. Post-install
|
||||
|
|
|
|||
|
|
@ -143,6 +143,11 @@ systemd-nspawn --settings=no --register=no --private-network --resolv-conf=off "
|
|||
cd /inputs; sha256sum -c SHA256SUMS; cd /
|
||||
mapfile -t requested < /requested
|
||||
if [[ ${ARCHIPELAGO_SERVICE_PACKAGE:-0} == 1 ]]; then
|
||||
# The service checkout has factory account files, unlike the legacy
|
||||
# path which already ran sysusers during download. Materialize the
|
||||
# base identities before installation and ownership validation.
|
||||
# Factory files are restored below before committing the image.
|
||||
systemd-sysusers
|
||||
python /run/package-transaction.py install /run/package-request.json
|
||||
else
|
||||
pacman -S --needed --noconfirm --cachedir /inputs -- "${requested[@]}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue