-
Notifications
You must be signed in to change notification settings - Fork 97
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
[RPI] EFI booting no longer supported on kernels shipped with ubuntu > 22.04 #2249
Comments
one (hackish) way would be to use different kernels (even vanilla..) but this is not easy to maintain in the long run. Probably upstream needs to be educated that actually works on PI (given their note "Not supported on Pi"), as u-boot > GRUB is quite uncommon. However for now we can block RPI4 support for ubuntu >22.04 as currently there are no requests around that. |
bug was closed upstream as they wont provide support for it. |
shoot, what does that mean, no RPI Ubuntu ? so strange since they offer an Ubuntu RPi release themselves |
Yeah but our boot method is different I guess? @mudler probably know of the difference between the normal boot and our boot process, so maybe we need to change our boot process to be close to upstream for this. |
yup good question, I think they don't use u-boot, but not sure |
@kairos-io/maintainers should we stop producing Ubuntu RPi artifacts for 23+? IMO it is weird that we produce an artifact if we know it will not work, and have to keep adding a notice on the release |
as last resort we should try https://github.com/pftf/RPi4 + systemd-boot with type 1 stuff to see if it works that way and its only grub the one being obtuse about it. |
nah, I played wiht it, it would require waaaay to many changes to our current implementation of the boot process just for ubutu rpi :( IMO, we stop producing rpi artifacts for ubuntu and point to the upstream bug. If people really want it they can go to the ticket and comment on it so maybe ubuntu would reconsider increasing the kernel size by 8Kb due to that config. (I can understand the increase in surface attack....mostly....the other 99% of kernels out there have it already enbabled but whatever...) |
It is too bad that the upstream taking that decision. :( I know little in the area. However, I've tried to absorb some knowledge from your guys discussion and compose a list here. To have kairOS work with any boards, what is needed:
After this, KairOS can launch with uboot in EFI mode, which in turn runs grub.efi and then we load our grub entries from there. Not sure if this makes sense. If yes, I can create a PR for the docs. |
yaha, we actually already have a doc for this https://kairos.io/docs/development/nvidia/ |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [kairos-io/kairos](https://github.com/kairos-io/kairos) | major | `v2.5.0` -> `v3.0.11` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>kairos-io/kairos (kairos-io/kairos)</summary> ### [`v3.0.11`](https://github.com/kairos-io/kairos/releases/tag/v3.0.11) [Compare Source](https://github.com/kairos-io/kairos/compare/v3.0.10...v3.0.11) **Full Changelog**: kairos-io/kairos@v3.0.10...v3.0.11 ### [`v3.0.10`](https://github.com/kairos-io/kairos/releases/tag/v3.0.10) [Compare Source](https://github.com/kairos-io/kairos/compare/v3.0.9...v3.0.10) #### Updated - Bumps framework to v2.7.32 - Bumps kairos-agent to v2.8.14 (part of the framework) #### Fixes - Prevent unwanted yaml fields to be marshalled: Fixes some step duplication when triggering the install via events like providers do - Avoid adding an extra line to os-release output: We were adding an extra line at the end of the os-release file, which some software had problems dealing with #### Improvements - `kairos-agent state` will now show SecureBoot state of the node (on/off) - `kairos-agent state` will now show the common name of the EFI certificates in the node if any - `kairos-agent state` will now show a list of encrypted partitions by label and by device if any ![image](https://github.com/kairos-io/kairos/assets/1447686/d2059be4-1d9c-483e-9d89-0a6235e74e00) **Full Changelog**: kairos-io/kairos@v3.0.9...v3.0.10 ### [`v3.0.9`](https://github.com/kairos-io/kairos/releases/tag/v3.0.9) [Compare Source](https://github.com/kairos-io/kairos/compare/v3.0.8...v3.0.9) - 🐛 Fix broken pipeline for arm rpi Tumbleweed (caused by Python package being much bigger) by [@​mauromorales](https://github.com/mauromorales) [https://github.com/kairos-io/kairos/pull/2524](https://github.com/kairos-io/kairos/pull/2524)/commits/f1aa0ac37ba1bc367f312247f5b5e23af4ee3127 - 🐛 Move nfs-utils to common build target in opensuse flavor by [@​kaiehrhardt](https://github.com/kaiehrhardt) [https://github.com/kairos-io/kairos/pull/2495](https://github.com/kairos-io/kairos/pull/2495) - 🐛 UKI custom mounts breaking the cos-layout file by [@​kreeuwijk](https://github.com/kreeuwijk) [https://github.com/kairos-io/packages/pull/839](https://github.com/kairos-io/packages/pull/839) (actual fix) release fix ([c95475c](https://github.com/kairos-io/kairos/pull/2524/commits/c95475c3e45c266c5cf9fc1ca2c96d446432dad4)) - ✨ Ubuntu 24.04 artifacts by [@​mauromorales](https://github.com/mauromorales) [#​2527](https://github.com/kairos-io/kairos/issues/2527) **Full Changelog**: kairos-io/kairos@v3.0.8...v3.0.9 ### [`v3.0.8`](https://github.com/kairos-io/kairos/releases/tag/v3.0.8) [Compare Source](https://github.com/kairos-io/kairos/compare/v3.0.7...v3.0.8) Backported fixes for agent: - Bumps yip for duplicated name of steps (was causing unexpected issues with users sometimes) Issue: [https://github.com/kairos-io/kairos/issues/2488](https://github.com/kairos-io/kairos/issues/2488) #### Updated packages |Category|Name|Old version|New Version| |--|--|--|--| |fips|kairos-agent|[v2.8.12](https://github.com/kairos-io/kairos-agent/releases/tag/v2.8.12)|[v2.8.13](https://github.com/kairos-io/kairos-agent/releases/tag/v2.8.13)| |system|kairos-agent|[v2.8.12](https://github.com/kairos-io/kairos-agent/releases/tag/v2.8.12)|[v2.8.13](https://github.com/kairos-io/kairos-agent/releases/tag/v2.8.13)| *** **Full Changelog**: kairos-io/kairos@v3.0.7...v3.0.8 ### [`v3.0.7`](https://github.com/kairos-io/kairos/releases/tag/v3.0.7) [Compare Source](https://github.com/kairos-io/kairos/compare/v3.0.6...v3.0.7) Backported fixes for agent and immucore: - Bumps yip for user id reuse - Adds sync calls before and after mounting - \[UKI] Fixes hooks in uki install - \[UKI] Fixes mounting oem before running rootfs stage under uki #### Updated packages |Category|Name|Old version|New Version| |--|--|--|--| |fips|kairos-agent|[v2.8.11](https://github.com/kairos-io/kairos-agent/releases/tag/v2.8.11)|[v2.8.12](https://github.com/kairos-io/kairos-agent/releases/tag/v2.8.12)| |system|kairos-agent|[v2.8.11](https://github.com/kairos-io/kairos-agent/releases/tag/v2.8.11)|[v2.8.12](https://github.com/kairos-io/kairos-agent/releases/tag/v2.8.12)| |system|immucore|[v0.1.25](https://github.com/kairos-io/immucore/releases/tag/v0.1.25)|[v0.1.26](https://github.com/kairos-io/immucore/releases/tag/v0.1.26)| |fips|immucore|[v0.1.25](https://github.com/kairos-io/immucore/releases/tag/v0.1.25)|[v0.1.26](https://github.com/kairos-io/immucore/releases/tag/v0.1.26)| *** **Full Changelog**: kairos-io/kairos@v3.0.6...v3.0.7 ### [`v3.0.6`](https://github.com/kairos-io/kairos/releases/tag/v3.0.6) [Compare Source](https://github.com/kairos-io/kairos/compare/v3.0.5...v3.0.6) #### What's Changed - fix(orin): disable ISCSI in the initramfs generation by [@​mudler](https://github.com/mudler) in [https://github.com/kairos-io/kairos/pull/2476](https://github.com/kairos-io/kairos/pull/2476) **Full Changelog**: kairos-io/kairos@v3.0.5...v3.0.6 ### [`v3.0.5`](https://github.com/kairos-io/kairos/releases/tag/v3.0.5) [Compare Source](https://github.com/kairos-io/kairos/compare/v3.0.4...v3.0.5) **Full Changelog**: kairos-io/kairos@v3.0.4...v3.0.5 ### [`v3.0.4`](https://github.com/kairos-io/kairos/releases/tag/v3.0.4) [Compare Source](https://github.com/kairos-io/kairos/compare/v3.0.3...v3.0.4) ####⚠️ Known issues 🐛 Raspberry: EFI booting no longer supported on kernels shipped with ubuntu > 22.04 [https://github.com/kairos-io/kairos/issues/2249](https://github.com/kairos-io/kairos/issues/2249) We haven't been able to address the following issues on Alpine: :bug: It's not possible to login on an Alpine 3.18 RPi [#​2439](https://github.com/kairos-io/kairos/issues/2439) 🐛 Filesystem expansion on rpi4 doesn't work with Alpine [https://github.com/kairos-io/kairos/issues/1995](https://github.com/kairos-io/kairos/issues/1995) 🐛 cgroup_memory not mounted in Alpine rpi4 [https://github.com/kairos-io/kairos/issues/2002](https://github.com/kairos-io/kairos/issues/2002) 🐛 Upgrade on alpine arm errors [https://github.com/kairos-io/kairos/issues/2135](https://github.com/kairos-io/kairos/issues/2135) 🐛 reset from the GRUB menu on alpine, gets stuck in an endless loop [https://github.com/kairos-io/kairos/issues/2136](https://github.com/kairos-io/kairos/issues/2136) Deprecation warnings: Reading of `/etc/elemental/config.yaml` is working again but will be deprecated in favor of `/etc/kairos/config.yaml` #### What's Changed - Fix Reboot hangs for UKI images [#​2384](https://github.com/kairos-io/kairos/issues/2384) by [@​Itxaka](https://github.com/Itxaka) - Remove snap from Ubuntu based images by [@​mauromorales](https://github.com/mauromorales) in [https://github.com/kairos-io/kairos/pull/2415](https://github.com/kairos-io/kairos/pull/2415) **Full Changelog**: kairos-io/kairos@v3.0.3...v3.0.4 ### [`v3.0.3`](https://github.com/kairos-io/kairos/releases/tag/v3.0.3) [Compare Source](https://github.com/kairos-io/kairos/compare/v3.0.2...v3.0.3) ####⚠️ Known issues 🐛 Raspberry: EFI booting no longer supported on kernels shipped with ubuntu > 22.04 [https://github.com/kairos-io/kairos/issues/2249](https://github.com/kairos-io/kairos/issues/2249) We haven't been able to address the following issues on Alpine: :bug: It's not possible to login on an Alpine 3.18 RPi [#​2439](https://github.com/kairos-io/kairos/issues/2439) 🐛 Filesystem expansion on rpi4 doesn't work with Alpine [https://github.com/kairos-io/kairos/issues/1995](https://github.com/kairos-io/kairos/issues/1995) 🐛 cgroup_memory not mounted in Alpine rpi4 [https://github.com/kairos-io/kairos/issues/2002](https://github.com/kairos-io/kairos/issues/2002) 🐛 Upgrade on alpine arm errors [https://github.com/kairos-io/kairos/issues/2135](https://github.com/kairos-io/kairos/issues/2135) 🐛 reset from the GRUB menu on alpine, gets stuck in an endless loop [https://github.com/kairos-io/kairos/issues/2136](https://github.com/kairos-io/kairos/issues/2136) Deprecation warnings: Reading of `/etc/elemental/config.yaml` is working again but will be deprecated in favor of `/etc/kairos/config.yaml` #### What's Changed - Fixes issue with the `bootentry` command in the agent when dealing with UKI by [@​mauromorales](https://github.com/mauromorales) in [https://github.com/kairos-io/kairos/pull/2410](https://github.com/kairos-io/kairos/pull/2410) **Full Changelog**: kairos-io/kairos@v3.0.2...v3.0.3 ### [`v3.0.2`](https://github.com/kairos-io/kairos/releases/tag/v3.0.2) [Compare Source](https://github.com/kairos-io/kairos/compare/v3.0.1...v3.0.2) > \[!CAUTION] > NOTE: The OpenSUSE Tumbleweed flavor of this release was affected by the xz backdoor (https://nvd.nist.gov/vuln/detail/CVE-2024-3094). For this reason all affected artifacts have been removed, both from quay.io (container images) and from GitHub. If you used the Tumbleweed artifacts of Kairos `3.0.1` or `3.0.2` you should immediately stop the affected machines and re-install a version which is not affected. If those systems were exposed to the internet (if ssh was possible) and they included passwords or keys, it's advised that you rotate those credentials. > > Read more: > > - https://news.opensuse.org/2024/03/29/xz-backdoor/ > - https://arstechnica.com/security/2024/04/what-we-know-about-the-xz-utils-backdoor-that-almost-infected-the-world/ ####⚠️ Known issues 🐛 Raspberry: EFI booting no longer supported on kernels shipped with ubuntu > 22.04 [https://github.com/kairos-io/kairos/issues/2249](https://github.com/kairos-io/kairos/issues/2249) We haven't been able to address the following issues on Alpine: :bug: It's not possible to login on an Alpine 3.18 RPi [#​2439](https://github.com/kairos-io/kairos/issues/2439) 🐛 Filesystem expansion on rpi4 doesn't work with Alpine [https://github.com/kairos-io/kairos/issues/1995](https://github.com/kairos-io/kairos/issues/1995) 🐛 cgroup_memory not mounted in Alpine rpi4 [https://github.com/kairos-io/kairos/issues/2002](https://github.com/kairos-io/kairos/issues/2002) 🐛 Upgrade on alpine arm errors [https://github.com/kairos-io/kairos/issues/2135](https://github.com/kairos-io/kairos/issues/2135) 🐛 reset from the GRUB menu on alpine, gets stuck in an endless loop [https://github.com/kairos-io/kairos/issues/2136](https://github.com/kairos-io/kairos/issues/2136) Deprecation warnings: Reading of `/etc/elemental/config.yaml` is working again but will be deprecated in favor of `/etc/kairos/config.yaml` #### What's Changed - 🤖 Run fedora and ubuntu uki tests by [@​Itxaka](https://github.com/Itxaka) in [https://github.com/kairos-io/kairos/pull/2366](https://github.com/kairos-io/kairos/pull/2366) - Replace a full test with a line in another test by [@​jimmykarily](https://github.com/jimmykarily) in [https://github.com/kairos-io/kairos/pull/2368](https://github.com/kairos-io/kairos/pull/2368) - Reduce fedora uki image size by [@​mauromorales](https://github.com/mauromorales) in [https://github.com/kairos-io/kairos/pull/2365](https://github.com/kairos-io/kairos/pull/2365) - chore(deps): update earthly/earthly docker tag to v0.8.6 by [@​renovate](https://github.com/renovate) in [https://github.com/kairos-io/kairos/pull/2359](https://github.com/kairos-io/kairos/pull/2359) - 🤖 Allow manual testing of branches for uki jobs by [@​Itxaka](https://github.com/Itxaka) in [https://github.com/kairos-io/kairos/pull/2373](https://github.com/kairos-io/kairos/pull/2373) - Do installation of kernel at the end of dockerfile by [@​mauromorales](https://github.com/mauromorales) in [https://github.com/kairos-io/kairos/pull/2374](https://github.com/kairos-io/kairos/pull/2374) - chore(deps): update quay.io/kairos/osbuilder-tools docker tag to v0.200.8 by [@​renovate](https://github.com/renovate) in [https://github.com/kairos-io/kairos/pull/2382](https://github.com/kairos-io/kairos/pull/2382) - fix(deps): update module github.com/kairos-io/kairos-sdk to v0.0.27 by [@​renovate](https://github.com/renovate) in [https://github.com/kairos-io/kairos/pull/2383](https://github.com/kairos-io/kairos/pull/2383) - chore(deps): update dependency kairos-io/kairos-framework to v2.7.19 by [@​renovate](https://github.com/renovate) in [https://github.com/kairos-io/kairos/pull/2391](https://github.com/kairos-io/kairos/pull/2391) - Test that after-reset is run when in UKI mode by [@​jimmykarily](https://github.com/jimmykarily) in [https://github.com/kairos-io/kairos/pull/2331](https://github.com/kairos-io/kairos/pull/2331) - 🤖 Bump osbuilder and drop keys by [@​Itxaka](https://github.com/Itxaka) in [https://github.com/kairos-io/kairos/pull/2381](https://github.com/kairos-io/kairos/pull/2381) - fix(deps): update module github.com/kairos-io/kairos-sdk to v0.0.28 by [@​renovate](https://github.com/renovate) in [https://github.com/kairos-io/kairos/pull/2394](https://github.com/kairos-io/kairos/pull/2394) - bump framework image by [@​mudler](https://github.com/mudler) in [https://github.com/kairos-io/kairos/pull/2407](https://github.com/kairos-io/kairos/pull/2407) **Full Changelog**: kairos-io/kairos@v3.0.1...v3.0.2 ### [`v3.0.1`](https://github.com/kairos-io/kairos/releases/tag/v3.0.1) [Compare Source](https://github.com/kairos-io/kairos/compare/v3.0.0...v3.0.1) > \[!CAUTION] > NOTE: The OpenSUSE Tumbleweed flavor of this release was affected by the xz backdoor (https://nvd.nist.gov/vuln/detail/CVE-2024-3094). For this reason all affected artifacts have been removed, both from quay.io (container images) and from GitHub. If you used the Tumbleweed artifacts of Kairos `3.0.1` or `3.0.2` you should immediately stop the affected machines and re-install a version which is not affected. If those systems were exposed to the internet (if ssh was possible) and they included passwords or keys, it's advised that you rotate those credentials. > > Read more: > > - https://news.opensuse.org/2024/03/29/xz-backdoor/ > - https://arstechnica.com/security/2024/04/what-we-know-about-the-xz-utils-backdoor-that-almost-infected-the-world/ ####⚠️ Known issues 🐛 Raspberry: EFI booting no longer supported on kernels shipped with ubuntu > 22.04 [https://github.com/kairos-io/kairos/issues/2249](https://github.com/kairos-io/kairos/issues/2249) We haven't been able to address the following issues on Alpine: :bug: It's not possible to login on an Alpine 3.18 RPi [#​2439](https://github.com/kairos-io/kairos/issues/2439) 🐛 Filesystem expansion on rpi4 doesn't work with Alpine [https://github.com/kairos-io/kairos/issues/1995](https://github.com/kairos-io/kairos/issues/1995) 🐛 cgroup_memory not mounted in Alpine rpi4 [https://github.com/kairos-io/kairos/issues/2002](https://github.com/kairos-io/kairos/issues/2002) 🐛 Upgrade on alpine arm errors [https://github.com/kairos-io/kairos/issues/2135](https://github.com/kairos-io/kairos/issues/2135) 🐛 reset from the GRUB menu on alpine, gets stuck in an endless loop [https://github.com/kairos-io/kairos/issues/2136](https://github.com/kairos-io/kairos/issues/2136) Deprecation warnings: Reading of `/etc/elemental/config.yaml` is working again but will be deprecated in favor of `/etc/kairos/config.yaml` #### What's Changed - Add docs versioning item in the template by [@​mauromorales](https://github.com/mauromorales) in [https://github.com/kairos-io/kairos/pull/2317](https://github.com/kairos-io/kairos/pull/2317) - Update earthly/earthly Docker tag to v0.8.5 by [@​renovate](https://github.com/renovate) in [https://github.com/kairos-io/kairos/pull/2333](https://github.com/kairos-io/kairos/pull/2333) - Install nohang from source for ubuntu by [@​liyimeng](https://github.com/liyimeng) in [https://github.com/kairos-io/kairos/pull/2318](https://github.com/kairos-io/kairos/pull/2318) - Update softprops/action-gh-release digest to [`9d7c94c`](https://github.com/kairos-io/kairos/commit/9d7c94c) by [@​renovate](https://github.com/renovate) in [https://github.com/kairos-io/kairos/pull/2320](https://github.com/kairos-io/kairos/pull/2320) - Update koalaman/shellcheck-alpine Docker tag to v0.10.0 by [@​renovate](https://github.com/renovate) in [https://github.com/kairos-io/kairos/pull/2321](https://github.com/kairos-io/kairos/pull/2321) - Update quay.io/kairos/osbuilder-tools Docker tag to v0.200.6 - autoclosed by [@​renovate](https://github.com/renovate) in [https://github.com/kairos-io/kairos/pull/2339](https://github.com/kairos-io/kairos/pull/2339) - Update dependency kairos-io/kairos-framework to v2.7.15 by [@​renovate](https://github.com/renovate) in [https://github.com/kairos-io/kairos/pull/2344](https://github.com/kairos-io/kairos/pull/2344) - Move nfs-common to common build target in ubuntu flavor by [@​kaiehrhardt](https://github.com/kaiehrhardt) in [https://github.com/kairos-io/kairos/pull/2340](https://github.com/kairos-io/kairos/pull/2340) - chore(deps): update quay.io/kairos/osbuilder-tools docker tag to v0.200.7 by [@​renovate](https://github.com/renovate) in [https://github.com/kairos-io/kairos/pull/2350](https://github.com/kairos-io/kairos/pull/2350) - chore(deps): update quay.io/luet/base docker tag to v0.35.1 by [@​renovate](https://github.com/renovate) in [https://github.com/kairos-io/kairos/pull/2352](https://github.com/kairos-io/kairos/pull/2352) - Bump framework to v2.7.17 by [@​mauromorales](https://github.com/mauromorales) in [https://github.com/kairos-io/kairos/pull/2357](https://github.com/kairos-io/kairos/pull/2357) #### New Contributors - [@​liyimeng](https://github.com/liyimeng) made their first contribution in [https://github.com/kairos-io/kairos/pull/2318](https://github.com/kairos-io/kairos/pull/2318) - [@​kaiehrhardt](https://github.com/kaiehrhardt) made their first contribution in [https://github.com/kairos-io/kairos/pull/2340](https://github.com/kairos-io/kairos/pull/2340) **Full Changelog**: kairos-io/kairos@v3.0.0...v3.0.1 ### [`v3.0.0`](https://github.com/kairos-io/kairos/releases/tag/v3.0.0) [Compare Source](https://github.com/kairos-io/kairos/compare/v2.5.0...v3.0.0) ####⚠️ Known issues 🐛 Raspberry: EFI booting no longer supported on kernels shipped with ubuntu > 22.04 [https://github.com/kairos-io/kairos/issues/2249](https://github.com/kairos-io/kairos/issues/2249) We haven't been able to address the following issues on Alpine: 🐛 Filesystem expansion on rpi4 doesn't work with Alpine [https://github.com/kairos-io/kairos/issues/1995](https://github.com/kairos-io/kairos/issues/1995) 🐛 cgroup_memory not mounted in Alpine rpi4 [https://github.com/kairos-io/kairos/issues/2002](https://github.com/kairos-io/kairos/issues/2002) 🐛 Upgrade on alpine arm errors [https://github.com/kairos-io/kairos/issues/2135](https://github.com/kairos-io/kairos/issues/2135) 🐛 reset from the GRUB menu on alpine, gets stuck in an endless loop [https://github.com/kairos-io/kairos/issues/2136](https://github.com/kairos-io/kairos/issues/2136) Deprecation warnings: Reading of `/etc/elemental/config.yaml` is working again but will be deprecated in favor of `/etc/kairos/config.yaml` #### New and noteworthy - ✨ Enable secureboot for all flavors (minus alpine) by [@​Itxaka](https://github.com/Itxaka) in [https://github.com/kairos-io/kairos/pull/2140](https://github.com/kairos-io/kairos/pull/2140) - 📖 Docs now have versioning starting with 3.0.0 #### What's Changed - Add scp to fedora by [@​jimmykarily](https://github.com/jimmykarily) in [https://github.com/kairos-io/kairos/pull/2154](https://github.com/kairos-io/kairos/pull/2154) - Remove duplicated zfs installation on rhel by [@​mauromorales](https://github.com/mauromorales) in [https://github.com/kairos-io/kairos/pull/2161](https://github.com/kairos-io/kairos/pull/2161) - \[uki] Provide proper artifacts for auto-key-enrollment by [@​Itxaka](https://github.com/Itxaka) in [https://github.com/kairos-io/kairos/pull/2172](https://github.com/kairos-io/kairos/pull/2172) - 🤖 Allow passing flags to enki and bump version by [@​Itxaka](https://github.com/Itxaka) in [https://github.com/kairos-io/kairos/pull/2193](https://github.com/kairos-io/kairos/pull/2193) - 🐛 Do not recompress compressed firmware by [@​Itxaka](https://github.com/Itxaka) in [https://github.com/kairos-io/kairos/pull/2237](https://github.com/kairos-io/kairos/pull/2237) - Have different compression depending on the ubuntu release by [@​mauromorales](https://github.com/mauromorales) in [https://github.com/kairos-io/kairos/pull/2270](https://github.com/kairos-io/kairos/pull/2270) - Slim down Ubuntu by [@​mauromorales](https://github.com/mauromorales) in [https://github.com/kairos-io/kairos/pull/2284](https://github.com/kairos-io/kairos/pull/2284) - Publish uki base image by [@​mauromorales](https://github.com/mauromorales) in [https://github.com/kairos-io/kairos/pull/2290](https://github.com/kairos-io/kairos/pull/2290) **Full Changelog**: kairos-io/kairos@v2.5.0...v3.0.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/marinatedconcrete/config). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Idea that came up during planning: We can maybe create a ppa in launchpad (https://launchpad.net) to build the kernel ourselves and just use our package instead. This of course needs someone that knows how to build in launchpad... |
The actual code is simple, we just need a diff that changes 1 line diff --git a/debian.raspi/config/annotations b/debian.raspi/config/annotations
index 5fddd3c1a9..136d8cf4af 100644
-CONFIG_EFI policy<{'arm64': 'y', 'armhf': 'n'}> note<'Not supported on Pi'>
+CONFIG_EFI policy<{'arm64': 'n', 'armhf': 'n'}> note<'Not supported on Pi'> so ideally it would be Fork with just that diff -> upstream commits a new versions -> sync fork -> apply patch -> build kernel in a PPA But who knows how we can trigger that in launchpad... we could do manual checks in a custom repo but then we would not get a PPA. We could also just use a different kernel for rpi. opensuse, archlinux, etc... |
could also send a patch upstream, see if its accepted lol |
or we could use the upstream linux kernel for rpi? https://github.com/raspberrypi/linux or even the raspberryos kernel? |
Uploading the artifact fails with:
Maybe relevant: https://help.launchpad.net/PPAQuickStart/FAQ#I_get_an_error_about_versions |
I asked for some guidance in the launchpad users mailing list: https://lists.launchpad.net/launchpad-users/ |
In the meantime, we can just (repo with the kernel: https://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/) |
I'm trying it here: https://github.com/kairos-io/kairos/compare/2249-try-upstream-rpi-kernel?expand=1 but it turns out they've removed some packages too?
I tried to see if this is a mistake in our Dockerfile, maybe the file is renamed or something? |
Hitting
|
We tried things, it doesn't work. We have other flavors that work. Let's close it. |
For some reason, the efi booting stuff was disabled on the upstream ubuntu kernel packages for raspi:
commit: https://git.launchpad.net/ubuntu/+source/linux-raspi/commit/?h=applied/ubuntu/devel&id=0d02ca7853f4e487ff8b912b0d1d43ceb31a528b
Change:
What this means is that for our usecase, we would not be able to boot with our current method uboot -> arm64 fallback file (grub) -> kernel as grub complains that the kernel doesnt have the required
CONFIG_EFI_STUB
option, which is true.We should probably ask upstream why was this disabled and if they can enable it again, as it was enabled up to kernel 6.5.0-1001.1 with no apparent issues (could not find any bugs related to this)
The text was updated successfully, but these errors were encountered: