Merged
Conversation
We are targeting now scarthgap. Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
It looks like the GCC in scarthgap enables a few more warnings as errors, which break the build with it. While fixing these issues would be best, the fixes aren't always trivial, so ignore them for now. Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
96e88da to
030ce3b
Compare
Yocto added the taskstats feature for qemuall builds with 351f82b99181
("linux-yocto: Enable kernel-sample features for runtime tests") [1],
which triggers a config warning:
WARNING: linux-yocto-onl-6.6.100+git-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration:
[NOTE]: 'CONFIG_SCHED_INFO' last val (n) and .config val (y) do not match
[INFO]: CONFIG_SCHED_INFO : y ## .config: 4438 :configs//bsp/armel-iproc/armel-iproc.cfg (n)
[INFO]: raw config text:
config SCHED_INFO
bool
default n
[INFO]: config 'CONFIG_SCHED_INFO' was set, but it wasn't assignable, check (parent) dependencies
[INFO]: selection details for 'CONFIG_SCHED_INFO':
Symbols currently y-selecting this symbol:
- TASK_DELAY_ACCT
Symbols currently n-selecting this symbol (no effect):
- SCHEDSTATS
Since this features seems to be only needed for using qemu to run the
image, and our kernel is hardware-specific so cannot be run in qemu,
let's remove the feature for now.
[1] openembedded/openembedded-core@351f82b
Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Scarthgap targets linux 6.6, so meta-virtualization provides its own include. On the other hand, there is no include for 5.15 anymore, so move our include there. Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Instead of replacing the upstream virtio.cfg, make it a (revert) patch. The build system has special handling for patches for kernel-meta, so patching it works as expected. Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
When using virtualization on scarthgap, it uses a separate kernel-meta checkout for the virtualization fragments, so any changes we do in the main kernel-meta are ineffective. Therefore make sure we also patch the second checkout from meta-virtualization. Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
It looks like newer runc(?) versions are confused if seccomp support is
disabled in docker/runc, but the kernel supports it, and fails to start
up:
fatal: [agema-ag7648-1.switch-testing.bisdn.de]: FAILED! => {"changed": false, "msg": "Error starting container 999f195b40f104fa4e1b5e45002c415c466dce6021daec841cc41d2eea184487: 500 Server Error for http+docker://localhost/v1.44/containers/999f195b40f104fa4e1b5e45002c415c466dce6021daec841cc41d2eea184487/start: Internal Server Error (\"failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: seccomp: config provided but seccomp not supported: unknown\")"}
Work around this by disabling seccomp in the kernel for x86-64 like it
is disabled for armel-iproc.
We may still decide to enable seccomp again at a later time, but for now
let's keep the changes minimal.
Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
030ce3b to
99040a3
Compare
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.
Update this layer to scarthap (5.0), which mostly involves updating our kernel recipes.