From d00819437586f22e14a4d15f066b80e591cd3a3e Mon Sep 17 00:00:00 2001 From: Ricky Hussmann Date: Mon, 22 Jun 2026 21:23:02 -0400 Subject: [PATCH] fix: restore optfix for 1password after blue-build/modules#570 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 --- Containerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 0bc3412..2e2e176 100644 --- a/Containerfile +++ b/Containerfile @@ -19,7 +19,11 @@ RUN chmod +x /tmp/1password.sh && \ ONEPASSWORD_RELEASE_CHANNEL=stable \ GID_ONEPASSWORD=1500 \ GID_ONEPASSWORDCLI=1600 \ - /tmp/1password.sh + /tmp/1password.sh && \ + mv /opt/1Password /usr/lib/1Password && \ + rm -f /usr/bin/1password && \ + ln -s /usr/lib/1Password/1password /usr/bin/1password && \ + echo 'L /opt/1Password - - - - /usr/lib/1Password' > /usr/lib/tmpfiles.d/onepassword.conf COPY build.sh /tmp/build.sh