From 8b875f865ca465807083353ca228293bb19b92b3 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 14 Mar 2026 19:48:33 +0900 Subject: cmd/earlyinit: remount root and set firmware path The default search paths cannot be configured, configuring them here is most sound for now. Signed-off-by: Ophestra --- internal/rosa/images.go | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'internal') diff --git a/internal/rosa/images.go b/internal/rosa/images.go index e992d520..bfffaf48 100644 --- a/internal/rosa/images.go +++ b/internal/rosa/images.go @@ -32,11 +32,15 @@ func (t Toolchain) newImageSystem() (pkg.Artifact, string) { SquashfsTools, ), nil, nil, ` mksquashfs /mnt/system /work/system.img -`, pkg.Path(fhs.AbsRoot.Append("mnt"), false, - t.Load(Musl), - t.Load(Mksh), - t.Load(Toybox), - )), Unversioned +`, pkg.Path(fhs.AbsRoot.Append("mnt"), false, t.AppendPresets(nil, + Musl, + Mksh, + Toybox, + + Kmod, + Kernel, + Firmware, + )...)), Unversioned } func init() { artifactsM[ImageSystem] = Metadata{ -- cgit v1.3.1