Skip to content

snapd: fix void directory packaging - #137

Merged
fwerkor merged 2 commits into
mainfrom
fix/snapd-void-packaging
Aug 31, 2026
Merged

fwerkor merged 2 commits into
mainfrom
fix/snapd-void-packaging

Conversation

@fwerkor

@fwerkor fwerkor commented Aug 31, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • configure snapd local state under /var instead of /usr/var
  • temporarily make /var/lib/snapd/void traversable while OpenWrt copies the package staging tree
  • restore upstream snapd's intended 0111 mode in the packaged rootfs
  • bump the snapd package release to 7

Why

OS Real Boot Check failed for both x86_64 and aarch64 while packaging snapd because OpenWrt could not enumerate snapd's 0111 void directory. The missing --localstatedir=/var also placed it under /usr/var/lib/snapd.

Validation

  • git diff --check
  • packaging regression check verifies the staged directory is made traversable for copy, the final /var/lib/snapd/void mode is restored to 0111, and /usr/var/lib/snapd/void is absent
  • PR OS Sanity passed
  • PR CodeQL checks passed

A clean targeted package build was also attempted locally, but the persistent OpenWrt buildroot had an incomplete host-tools staging tree (libdeflate-gzip/sed missing), so that run failed before reaching snapd itself.

Fixes the failure seen in Actions run 32379011563.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
capos-snap cbbf899 Aug 31 2026, 04:57 AM

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0361cd3d56

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package/capos/snapd/Makefile Outdated
@fwerkor
fwerkor merged commit 27b6d97 into main Aug 31, 2026
9 of 11 checks passed
@fwerkor
fwerkor deleted the fix/snapd-void-packaging branch August 31, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant