Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build_sysext: Remove any opaque directory markers #1729

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

pothos
Copy link
Member

@pothos pothos commented Mar 5, 2024

The Flatcar extension images built with build_sysext created directories in the overlay in a way that masked contents from other layers. Instead of fixing the way we create directories, make use of postprocessing to avoid any similar problems show up again in the future.

How to use

Backport

Fixes flatcar/sysext-bakery#50

Testing done

Tested that the squashfs has no opaque markers:

sudo systemd-dissect --with oem-azure.raw find usr/ -xdev -type d -exec sh -c 'if [ "$(attr -R -q -g overlay.opaque {} 2>/dev/null)" = y ]; then echo {}; fi' \;

Tested that the Azure OEM extension works with the Kubernetes extension such that /usr/lib/systemd/system/multi-user.target.d has the containerd and kubernetes entries.
Jenkins: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/3586/cldsv/

The Flatcar extension images built with build_sysext created directories
in the overlay in a way that masked contents from other layers.
Instead of fixing the way we create directories, make use of
postprocessing to avoid any similar problems show up again in the
future.
@pothos pothos force-pushed the kai/sysext-merge-contents branch from 643d65f to 5aecc0a Compare March 5, 2024 16:01
@pothos pothos merged commit a2aa30f into main Mar 5, 2024
1 check failed
@pothos pothos deleted the kai/sysext-merge-contents branch March 5, 2024 16:03
pothos added a commit that referenced this pull request Mar 5, 2024
build_sysext: Remove any opaque directory markers
pothos added a commit that referenced this pull request Mar 5, 2024
build_sysext: Remove any opaque directory markers
pothos added a commit that referenced this pull request Mar 5, 2024
build_sysext: Remove any opaque directory markers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

installing kubernetes sysext on azure doesn't autostart kubelet
2 participants