aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2026-11-10cmd/earlyinit: optionally make misc bindableOphestra
This is only used by the test suite. Autoroot is generally never used. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-10cmd/hakurei/testsuite: use /bin/shOphestra
This is available on Rosa OS via the compatibility symlink. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-10internal/testsuite: create additional directoriesOphestra
These normally do not exist on Rosa OS. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-10internal/rosa/package/kernel: enable CONFIG_USER_NSOphestra
This was somehow missed, making hakurei unable to run on Rosa OS kernel. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-10cmd/earlyinit: suppress printk on fatalOphestra
This removes printk noise after the system is unable to continue its boot process, so the error message does not get scrolled away. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-09internal/rosa: drop more unused directoriesOphestra
These are not part of hakurei, and it is pointless to rebuild when they are changed. This change drops them from loaded source. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-09internal/rosa: skip vim swap filesOphestra
These change a lot while something is being worked on and is never ever used by the build process. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-09internal/rosa: zero archive timesOphestra
This reduces unnecessary rebuilds. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-09internal/rosa/package/hakurei: install hsuOphestra
This avoids having to set up the setuid wrapper while making the system image. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-09internal/testsuite: populate passwd databaseOphestra
This keeps musl happy for now. Currently, only dbus daemon and pipewire wants this, and both pieces of software will eventually be replaced, anyway. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-08cmd/earlyinit: optionally force kmsg redirectionOphestra
This increases output readability in the test suite. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-08cmd/hakurei/testsuite: format expected ldd outputOphestra
This message is different between the musl and glibc implementations. This change assumes the non-Rosa test suite uses glibc, since it is only ran on the Gitea actions runner. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-08cmd/hakurei/testsuite: use Rosa OS prefixOphestra
This uses the correct prefix when compiled for Rosa OS. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-08cmd/hsu: move Rosa OS hsurcOphestra
This file is generated by the operating system. Pointing it to /system requires ugly tricks to bind mount over it. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-07cmd/earlyinit: make compatibility symlinksOphestra
Legacy software like the X server hardcodes a FHS path to the shell. Since Rosa OS does not mount over /, this has to be created during boot. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-06internal/rosa/package/images: make contents owned by rootOphestra
Keeping these owned by the hardcoded build uid (1023) is pointless and breaks setuid wrappers. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-06cmd/earlyinit: ignore trivial by defaultOphestra
It does not make sense to dispatch trivial errors in user-facing builds. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-06internal/report: optionally ignore trivialOphestra
Dispatching trivial errors is almost always a waste of resources. These are used for inconsequential, routine events like attempting to load a built-in or already-loaded kernel module. This flag disables them entirely. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-06internal/testsuite: notify on long pollsOphestra
This prints a message every second for a long-running poll. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-06cmd/dist: override CC/CXX for cross onlyOphestra
The Rosa OS target triple does not work outside of Rosa OS. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-05internal/rosa: update packagesOphestra
The toolchain is updated, causing many rebuilds. The clang-cl muon regression had been fixed, the backport patch is removed. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-04internal/rosa/package/x: xsetOphestra
Used by the integration test suite. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-04internal/rosa/package/x: libXmuOphestra
Required by xset. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-04internal/rosa/package/x: libXtOphestra
Required by libXmu. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-04internal/rosa/package/x: libSMOphestra
Required by libXt. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-04internal/rosa/package/x: libICEOphestra
Required by libSM. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-04internal/testsuite: world-readable runtime dir parentOphestra
This must be world-readable for the final XDG_RUNTIME_DIR to be accessible by the testing user. This was overlooked because the parent always existed in conventional testing environments. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-04internal/rosa/package/images: enable cross-compilationOphestra
Nothing is actually compiled here, these simply package cross-compiled binaries using native tools. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-04internal/rosa/package/openssl: specify os/compilerOphestra
Contrary to what the name suggests, this string is not actually shaped like os/compiler, but some form of hardcoded list of openssl's equivalent of target triples in their custom build system. This is quite unpredictable, requiring custom names for amd64 and riscv64, so an arch function is used here to handle the special cases. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-04internal/rosa/package/toybox: enable cross-compilationOphestra
The previous change enabled cross-compilation for the early variant, this duplicates the change for the standard variant. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-03internal/rosa/package/mksh: disable tests during crossOphestra
Running this via qemu requires extensive patching, so disable them for now. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-03cmd/earlyinit: optionally skip remountOphestra
Useful during testing and debugging to leave / writable. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-03internal/testsuite: stub user account lookupsOphestra
Rosa OS does not have the concept of unix user accounts. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-03cmd/earlyinit: explicit MS_RDONLY mounting systemOphestra
This prevents the kernel from attempting to write to the device, even though squashfs itself is read-only. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-03cmd/earlyinit: optionally mount host directoryOphestra
Useful for sharing a directory during integration testing. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-03internal/report: fix typoOphestra
This change also adds a missing doc comment. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-03cmd/earlyinit: optionally mount /tmpOphestra
This directory is not used by Rosa OS, but may be useful during testing. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-03internal/rosa/package/kernel: enable 9p fsOphestra
Useful for integration testing without rebuilding the system image. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-03cmd/earlyinit: initial process option for debuggingOphestra
This optionally halts the boot process to run the specified program. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-02internal/workflows: build wireplumber 0.5.19Ophestra
WirePlumber 0.5.19 contains a commit fixing the permission management vulnerability; it did not get treated as such upstream, hence the late update and lack of CVE or even any meaningful announcement. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-01internal/rosa: update packagesOphestra
PipeWire WirePlumber has finally updated, backport patch has been removed. Kernel headers remain unchanged. A libarchive test flake was encountered during rebuild, but it did not show up after multiple retries, so keeping it enabled for now. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-01internal/rosa: do not hard code filename prefixOphestra
The hardcoded name is not correct for externally registered files. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-01internal/rosa: enable checks for cross-compilationOphestra
This uses QEMU to run checks when supported. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-11-01cmd/dist: disable testing if cross-compilingOphestra
QEMU does not support most things worth testing, and supported tests that invoke a binary still requires binfmt to work correctly. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-31internal/rosa: document toolchains and azaleaOphestra
This is quite difficult to figure out just from reading source code. This change documents as much of azalea as possible, excluding some fields intended for internal use only. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-31internal/rosa: handle nil checksumOphestra
This defaults to nil, however it did not accept the untyped Azalea nil. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-30internal/rosa/azalea: record position in func exprOphestra
This is included in the evaluation error message. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-30internal/rosa/azalea: use expr text for errorsOphestra
This is significantly more readable and helpful than simply using the %#v verb. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-30internal/rosa/azalea: re-construct expr textOphestra
This significantly helps with debugging: the %#v text is incredibly unhelpful to read, and just ends up filling the terminal with useless information. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-30internal/rosa/package/mesa: enable cross-compilationOphestra
This was missed during migration to the new split convention. Signed-off-by: Ophestra <cat@gensokyo.uk>