sysext: add built-in Incus sysext image#1655
Merged
Conversation
f116e61 to
09f3036
Compare
09f3036 to
635a695
Compare
tormath1
commented
Feb 14, 2024
sdk_container/src/third_party/portage-stable/app-containers/lxc/lxc-5.0.3.ebuild
Outdated
Show resolved
Hide resolved
635a695 to
7e0fe1a
Compare
pothos
reviewed
Mar 6, 2024
7e0fe1a to
849780e
Compare
849780e to
bfe0b2b
Compare
tormath1
commented
Mar 13, 2024
sdk_container/src/third_party/portage-stable/app-containers/incus/incus-0.6-r1.ebuild
Outdated
Show resolved
Hide resolved
This comment was marked as outdated.
This comment was marked as outdated.
|
Build action triggered: https://github.com/flatcar/scripts/actions/runs/9052482849 |
bfe0b2b to
c18d6c2
Compare
c18d6c2 to
accd423
Compare
0e6070a to
257114d
Compare
257114d to
3bc9670
Compare
3bc9670 to
fb6a0f2
Compare
krnowak
reviewed
May 16, 2025
...ainer/src/third_party/coreos-overlay/coreos-devel/board-packages/board-packages-0.0.1.ebuild
Show resolved
Hide resolved
| @@ -0,0 +1,3 @@ | |||
| cros_pre_src_compile_pkgconfig() { | |||
Member
There was a problem hiding this comment.
This looks like a fix candidate for upstream, no?
sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/coreos/config/env/acct-group/incus
Show resolved
Hide resolved
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Incus build uses pkg-config support in Go to link against some library. This needs the correct sysroot version of PKG_CONFIG to be exported. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com> Co-Authored-By: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Sort the sysext entries as well. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
this is required when loading the sysext image to dynamically load / unload the groups provided by the image. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This requests the `incus.service` for the multi-user.target Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
While building on `amd64`: ```bash dosbin: _dist/bin/linux_amd64/incusd does not exist ``` Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
e20e6bd to
7ccc2f4
Compare
krnowak
approved these changes
May 19, 2025
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.
In this PR, we add Incus support as opt-out built-in sysext.
Note for reviewers:
app-containers/incus: fix cross-compilation issue(app-containers/incus: fix cross-compilation issue gentoo/gentoo#42095)userdbto dynamically load and unload those groups when we load and unload the sysext image (note: it seems a soft reboot might still be necessary)static-libsuseflag enabled forsys-libs/libcapas it seems we don't use this flag for the generic image but for the SDK - that said, the CI output does not show any change regarding the libcap.How to use
(This is optional to use ZFS)
Once on the instance, you can use a preseed or follow the interactive
incus admin init:changelog/directory (user-facing change, bug fix, security fix, update).github/workflows/portage-stable-packages-list/bootand/usrsize, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.Closes: flatcar/Flatcar#1319