Comments (4)
Good test for this.
- Build uki rootfs
- Pack the /usr/firmware dir into a sysext
- Remove /usr/firmware from rootfs
- Build image, add sysext under the overlay-iso dir so it gets picked by the agent on install
- Install and reboot
- systemd-stub will try to measure the sysext and pass it to the kernel in a CPIO format. This usually gets copied intot he initramfs under
/.extra/sysext
- This fails under QEMU due to an error allocating pages
Hint: A way of skipping this would be to make so the agent does copy into the /EFI/kairos/active.efi.extra.d/ dir, as stub autoloads them from there. We could just store them under /EFI/kairos/sysext and make immucore move those sysext into /run/extensions
on boot directly. That would skip the systemd-stub loading the files into memory to measure them. As we currently are NOT using those measurements for anything, it would be a quick workaround.
from kairos.
FYI I can confirm that the workaround works.
Manually copied the firmware.raw extension into /run/extensions and refreshed and magically all the firmware appeared correctly :D
from kairos.
lol, nice, this works on systemd-256 I was able to auto copy the firmware sysext and have it autoload on boot :D
from kairos.
Before we close this, let's bump the sizes until things break, just to know what our limit is.
from kairos.
Related Issues (20)
- Use CNCF runners to build Ubuntu 22.04 for arm64 HOT 1
- feat: Expose auth args for image extractor in agent HOT 1
- feat: create a comparison table with various competitive projects
- feat: create repo of meetup presentations to iterate over them with new questions, explaining things and such HOT 2
- Get an OpenSSF Best Practices badge HOT 1
- Address clomonitor issues HOT 2
- kairos rocky core image needs /etc/rc.d/rc.local execute bit set.
- feat: templating for config_url
- mixed architecture in opensuse tumbleweed images in versions starting from 3.0.9 HOT 7
- KCD Porto 24 HOT 1
- Merge oci2sysext with enki https://github.com/kairos-io/oci2sysext (or documentation)
- Upgrade systemd-boot and systemd-ukify (if still used) to v256
- Allow skipping the upgrade image verification in UKI mode HOT 1
- feat: Kairos should not allow the use of short keys HOT 1
- Address OpenSSF best practices issues HOT 1
- github.com/distribution/distribution/reference is deprecated
- Fedora: disable dnf-makecache service HOT 1
- kairos.service in activating status forever HOT 2
- feat: remove "extras" packages from factory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kairos.