fix: restore optfix for 1password after blue-build/modules#570#43
Merged
Conversation
blue-build/modules PR #570 (merged 2026-06-12) removed the optfix from the bling 1password installer, assuming the blue-build CLI's pre/post build scripts would handle relocating /opt packages to /usr/lib/opt and registering tmpfiles.d symlinks. This repo uses the installer script directly via buildah, not through the CLI, so that mechanism never runs. On ostree systems, /opt at runtime is a symlink to /var/opt (a mutable volume excluded from the ostree commit), so 1Password silently disappears on the running system despite the image building successfully. Restore the pre-PR-#570 behaviour inline: move the installed files to /usr/lib/1Password (immutable, included in the ostree commit) and register a tmpfiles.d entry so systemd creates /opt/1Password as a symlink at boot. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
blue-build/modulesPR #570 (merged 2026-06-12) removed the "optfix" from the bling1password.shinstaller, on the assumption that the blue-build CLI's ownpre_build.sh/post_build.shwould handle relocating/optpackages into the ostree-committed filesystem/optat runtime is a symlink to/var/opt(a mutable volume not included in the ostree commit), so 1Password silently disappears on the running system despite builds succeeding without errorThe fix restores the pre-PR-#570 behaviour inline in the
Containerfile:/opt/1Password→/usr/lib/1Password(immutable, included in the ostree commit)/usr/bin/1passwordto the new locationtmpfiles.dentry so systemd creates/opt/1Passwordas a symlink to/usr/lib/1Passwordat bootTest plan
/usr/lib/1Password/is populated/opt/1Passwordresolves correctly on a booted system (via the tmpfiles.d symlink)🤖 Generated with Claude Code