James Le Cuirot
James Le Cuirot
Given my earlier test, I'm not confident it really works yet, but I've made a lot of changes since. Let me give it another try now.
Nope, it still blows up all over the place. Lots of this: ``` dracut-install: ERROR: installing '/usr/lib/dracut/modules.d/98dracut-systemd/dracut-emergency.sh' to '/usr/bin/dracut-emergency' dracut[E]: FAILED: /usr/lib/dracut/dracut-install -r /build/amd64-usr -D /build/amd64-usr/var/tmp/portage/sys-kernel/coreos-kernel-6.12.20/temp/dracut.dN6oHlb/initramfs -l /usr/lib/dracut/modules.d/98dracut-systemd/dracut-emergency.sh /usr/bin/dracut-emergency ```...
I've had a fresh go at achieving this. Flatcar has been using Catalyst 3, but Gentoo have masked this now in favour of 4.0-rc1. One benefit of the new version...
Figured it out. It's not a new problem. I'd been doing `bootstrap_sdk stage2` because I'd already built stage1, but that causes it start from the latest SDK, not the stage1...
Damn, I've been caught out by the vanilla Gentoo seed and our package tree not quite aligning. Specifically, Perl cannot find libcrypt.so.2, part of libxcrypt. Gentoo migrated to libxcrypt 2½...
I made it past stage3, but I figured building Rust and such was going to take forever under QEMU. I had another idea to run this on arm64 hardware, by...
Yeah, switching to 4 first might be best before any official arm64 SDK release, but the result of this should be good enough to kick off an entirely native build...
Bah, it failed quite late on with sys-block/thin-provisioning-tools. Seems like some broken CoreOS Rust/cargo cross-compiling logic.
I got it working. Closing in favour of flatcar/scripts#2093.
Good news on this front. Reworking the Dracut bits was the main blocker here. With that done, I was able to take my branch of now relatively small changes and...