aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
AgeCommit message (Collapse)Author
2026-03-01internal/rosa/make: alternative configure scriptOphestra
This enables using the configure helper with non-autotools configure scripts. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-01internal/rosa/toybox: migrate to make helperOphestra
A previous change caused world rebuild, so it is a good time to do this. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-28internal/rosa: stricter cure-script optionsOphestra
This change also moves .cure-script out of /system/bin. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-28internal/rosa/kernel: early serialOphestra
Having serial driver before initramfs is helpful. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-28internal/rosa/images: initramfs via gen_init_cpioOphestra
This is much cleaner than hacking around the cpio tool. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-28internal/rosa: export muslOphestra
This can be useful externally. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-28internal/rosa: gen_init_cpio artifactOphestra
This works much better than hacking around the toybox cpio implementation. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-28container: use /proc/self/exe directlyOphestra
This is a more reliable form of pathname to self and also cheaper than os.Executable. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-26internal/pkg: set container scheduling policyOphestra
This is not as necessary as it was for nix, since internal/pkg only unblocks exclusive artifacts one at a time. Still, this is useful when running alongside an unprivileged music player which cannot set itself to a higher priority. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-26internal/rosa: expose standalone muslOphestra
This is useful in the system image and might also be used elsewhere. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-25internal/rosa: initramfs artifactOphestra
This constructs a single-program initramfs and populates /dev/null so the runtime does not throw if the kernel fails to set up console. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-25internal/rosa: fakeroot artifactOphestra
XSLT is untamable and extremely unpleasant to work with. This patches out the broken docs for now in the interest of getting some work done. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-24internal/rosa/kernel: arm64 configurationOphestra
These new dependencies do not apply to amd64, but adding them anyway in case they are needed some day. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-24internal/rosa: libxslt artifactOphestra
For building documentation that cannot be turned off. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-24internal/rosa/perl: various perl module artifactsOphestra
This change includes helpers for both Makefile.PL and Build.PL as well as various modules. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-24internal/rosa/gnu: build single-binary coreutilsOphestra
This enables more fine-grained toybox replacements. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-24internal/rosa: libcap artifactOphestra
Required by fakeroot. Quite refreshing to package a non-autotools project. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-24internal/rosa/kernel: disable DEBUG_STACK_USAGEOphestra
This is no longer needed. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-23internal/rosa: make toolchain optionalOphestra
The final Rosa OS image does not need the toolchain. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-23internal/rosa/hakurei: optionally use embedded sourceOphestra
This builds hakurei in Rosa OS between releases. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-23internal/pkg/ir: raise string limit to 16 MiBOphestra
A string holds "current" hakurei source code. For now the compressed tarball is 4.9 MiB long. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-23internal/rosa/fuse: fix init script pathOphestra
The default value is quite misleading. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-23internal/rosa: fix patchesOphestra
Turns out alacritty clobbers output. It turns tabs into spaces and also removes whitespace-only lines for some reason. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-22internal/rosa/kernel: increase audio powersave timeoutOphestra
This feature is incredibly annoying as some amplifiers take time to wake up, and causes a non-insignificant amount of audio to be dropped. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-22internal/rosa: ncurses artifactOphestra
For running menuconfig. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-22internal/rosa/musl: migrate to make helperOphestra
This is much cleaner and eliminates the early ugliness. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-22internal/rosa/make: expose --hostOphestra
This should be set alongside --build. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-21internal/rosa: kernel artifactOphestra
The configuration still wants some cleanup, but this works fine as a generic kernel for now. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-21internal/rosa: install kernel headers out-of-treeOphestra
This is somewhat cheaper than the implementation with extra artifact and is more friendly to the make helper. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-21internal/rosa: gnu tar artifactOphestra
Initially, libarchive was going to be used, but its test suite simply does not want to work under musl, not even with libiconv. The ticket last discussing this ceased any activity in 2020. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-21internal/rosa: libiconv artifactOphestra
For software that assumes glibc. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-21internal/rosa: bc artifactOphestra
Required by the kernel. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-21internal/rosa: texinfo artifactOphestra
Yet another wheel reinvented by GNU. Required to shut some GNU programs up. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-20internal/rosa: elfutils artifactOphestra
Required by the kernel. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-20internal/rosa: musl-obstack artifactOphestra
Yet another nonstandard glibc extension used by elfutils. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-20internal/rosa: musl-fts artifactOphestra
Another nonstandard glibc extension used by elfutils. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-20internal/rosa: argp-standalone artifactOphestra
Nonstandard glibc extension used by elfutils. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-20internal/rosa: expose kernel sourceOphestra
This also removes the unused kernel helper. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-19internal/pkg: export layer promotionOphestra
This is a useful helper for external tooling. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-19internal/pkg: export seccomp presetsOphestra
This is useful for external tooling providing an execArtifact-like environment. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-19internal/rosa: use LTS kernelOphestra
For out-of-tree modules. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-18internal/lockedfile: keep objects alive while stopping cleanupsOphestra
Fixes https://go.dev/issues/74780. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-18internal/rosa: tamago toolchain artifactOphestra
Currently used by the (wip) bootloader, might not make it into the final OS. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-18internal/rosa: util-linux artifactOphestra
This stuff will likely be implemented natively in the final system. For now, it is useful for debugging. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-18internal/rosa: procps artifactOphestra
Generally pretty useful, and required by util-linux test suite. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-17internal/rosa: qemu artifactOphestra
This is still a quite minimal build. More features will be enabled as dependencies become available. The powerpc failure will be investigated if it is ever needed. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-17internal/rosa/go: 1.25.7 to 1.26.0Ophestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-17internal/pkg/ir: document reason for avoiding ident cacheOphestra
This got brought up earlier today as a potential optimisation. This change documents why it is not viable, and hopefully clears up some performance implications of using IRDecoder, namely that its decoding costs do not amortise. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-17container/initplace: return nil for createTemp error injectionOphestra
This matches os package behaviour, and avoids adding the cleanup. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-17internal/rosa/python: enable bzip2 and xzOphestra
This is required by qemu test suite. Signed-off-by: Ophestra <cat@gensokyo.uk>