Skip to content

update_chroot: Fix /etc/portage/patches symlink#3935

Merged
chewi merged 1 commit intomainfrom
chewi/sdk-portage-patches
Apr 15, 2026
Merged

update_chroot: Fix /etc/portage/patches symlink#3935
chewi merged 1 commit intomainfrom
chewi/sdk-portage-patches

Conversation

@chewi
Copy link
Copy Markdown
Contributor

@chewi chewi commented Apr 15, 2026

This was accidentally broken by #3795. I took that change from a branch where the COREOS_OVERLAY variable was no longer used at all.

How to use

In the SDK:

$ ls -l /etc/portage/patches 
lrwxrwxrwx 1 root root 20 Apr 15 11:07 /etc/portage/patches -> /coreos/user-patches

$ ./update_chroot --setuponly

$ ls -l /etc/portage/patches 
lrwxrwxrwx 1 root root 67 Apr 15 11:13 /etc/portage/patches -> /mnt/host/source/src/third_party/coreos-overlay/coreos/user-patches

Testing done

I've done the above.

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update) -- N/A
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

This was accidentally broken by #3795. I took that change from a branch
where the `COREOS_OVERLAY` variable was no longer used at all.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
@chewi chewi merged commit 52dec2d into main Apr 15, 2026
4 of 5 checks passed
@github-project-automation github-project-automation bot moved this from ✅ Testing / in Review to Implemented in Flatcar tactical, release planning, and roadmap Apr 15, 2026
@chewi chewi deleted the chewi/sdk-portage-patches branch April 15, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants