Update to bookworm and add ZRAM block device support#19
Update to bookworm and add ZRAM block device support#19flowzone-app[bot] merged 5 commits intomainfrom
Conversation
Other shells, like dash in Ubuntu, are not able to execure docker: ``` make: docker: Permission denied make: *** [Makefile:58: check_path] Error 127 ``` Signed-off-by: Alex Gonzalez <alexg@balena.io>
Debian bullseye kept segfaulting: ``` 101.1 installed libc-bin package post-installation script subprocess returned error exit status 139 101.1 Processing triggers for ca-certificates (20210119) ... 101.3 Updating certificates in /etc/ssl/certs... 112.7 0 added, 0 removed; done. 112.7 Running hooks in /etc/ca-certificates/update.d... 112.7 done. 112.8 Errors were encountered while processing: 112.8 libc-bin 112.9 E: Sub-process /usr/bin/dpkg returned an error code (1) ``` Change-type: minor Signed-off-by: Alex Gonzalez <alexg@balena.io>
| # Linux/arm64 5.10.0 Kernel Configuration | ||
| # | ||
| CONFIG_CC_VERSION_TEXT="gcc (Debian 10.2.1-6) 10.2.1 20210110" | ||
| CONFIG_CC_VERSION_TEXT="gcc (Debian 12.2.0-14+deb12u1) 12.2.0" |
There was a problem hiding this comment.
I would have preferred these config changes be included with the bookworm commit, rather than the zram commit. As it stands, I can't tell which config lines are related to the zram feature.
|
5.10 failed to build on amd64, not sure why that would be or if it's related to zram or bookworm. We can either fix this, or just disable the linux510 build variant since it's unused now. |
2979edf to
0b1a842
Compare
|
v5.10 would need to be fetched from an LTS repository probably to build with GCC 12. Not sure whether we want to spend time on building with an LTS branch that is probably untested with firecracker specially if this is now unused as you say. btw, I have tried patching this first problem but other follows so I stopped going down the rabbit hole.
|
|
The alternative is not to update to bookworm on 5.10 even if this does not build in my computer and just not make the zram addition. We would then have a 5.10 backup kernel we could use if needed. Your call @klutchell
|
Change-type: patch Signed-off-by: Alex Gonzalez <alexg@balena.io>
This is required to run some new tests on the OS automation suite. Change-type: minor Signed-off-by: Alex Gonzalez <alexg@balena.io>
| } | ||
| docker_images: ghcr.io/product-os/github-runner-kernel | ||
| bake_targets: linux510,linux61 | ||
| bake_targets: linux61 |
There was a problem hiding this comment.
NIT, can we make this a minor?
This kernel no longer builds on Debian bookworm with GCC12 - it is also no longer used. Change-type: minor Signed-off-by: Alex Gonzalez <alexg@balena.io>
The bookworm update was not planned but Ubuntu 24.02 kept segfaulting on the docker build.
The addition of the ZRAM device is required to run the OS tests in the following commit:
balena-os/meta-balena#3678