Skip to content

fix(provision): seed default keyring before finalize-user check - #276

Closed
statick88 wants to merge 3 commits into
omacom:quattrofrom
statick88:fix/252-default-keyring-autologin
Closed

statick88 wants to merge 3 commits into
omacom:quattrofrom
statick88:fix/252-default-keyring-autologin

Conversation

@statick88

Copy link
Copy Markdown

Fixes #252

On autologin images the build may have already marked `finalize-user` complete, which skips `install/user/all.sh` and therefore `default-keyring.sh`. Seed the passwordless default keyring explicitly so Chromium and other apps do not prompt for a new keyring on first launch.

Fixes omacom#235

On generic aarch64 bases the Asahi Alarm keyring is not preinstalled, so
the first pacman -Sy that touches the asahi-alarm repo fails with a
misleading 'database does not exist' error. Move the keyring bootstrap
into main() before ensure_arm_package_repo() and make failures explicit
instead of silent.
Fixes omacom#252

On autologin images the build may have already marked finalize-user
complete, which skips install/user/all.sh and therefore default-keyring.sh.
Seed the passwordless default keyring explicitly so Chromium and other apps
do not prompt for a new keyring on first launch.
Replace '|| true' with an explicit warning so seeding problems surface
in install logs without aborting the rest of user setup.
@statick88

Copy link
Copy Markdown
Author

Updated per code review: replaced '|| true' with an explicit warning so default-keyring failures surface in install logs without aborting user setup.

@statick88

Copy link
Copy Markdown
Author

Reorganizing into atomic PRs; reopening shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UTM autologin image does not seed the default keyring

1 participant