diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-14 19:48:33 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-14 19:50:04 +0900 |
| commit | 8b875f865ca465807083353ca228293bb19b92b3 (patch) | |
| tree | 65c11ac17f927a8b8ec128594793f1665af7b17a /internal | |
| parent | 8905d653ba8ac5f2a70a6df654ebfa2a17206729 (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/rosa/images.go | 14 |
1 files changed, 9 insertions, 5 deletions
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{ |
