aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
13 dayscmd/dist: override CC/CXX for cross onlyHEADmasterOphestra
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>
2026-10-30internal/rosa/meson: invoke llvm-config via qemuOphestra
It does not seem possible to have a native llvm-config that provides correct information. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-30internal/rosa/package/spirv: fix header pathnameOphestra
This points to the headers installed to the cross sysroot. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-30internal/rosa/cmake: set compiler flags on crossOphestra
This change also adds the --sysroot argument. CMake handles this already with other flags, but it is a nice to have, anyway, to hopefully handle some edge cases. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-30internal/rosa/package/libdisplay-info: move hwdata to toolsOphestra
Meson looks for it in host root, so move it there. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-30internal/rosa/package/elfutils: specify CFLAGSOphestra
The make helper overrides CC when cross-compiling. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-29hst: validate CGO_ENABLED=0Ophestra
This builds the package CGO_ENABLED=0 via go:generate. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-29internal/rosa/package/libva: add wayland as toolOphestra
This makes wayland-scanner available in the cross environment. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-29internal/rosa/package/libglvnd: pass --allow-shlib-undefinedOphestra
This works around the buggy build system which tries to link against just-built libraries not available to the linker with sysroot specified. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-29internal/rosa/meson: specify -rpath-link for crossOphestra
Of course, meson fails to add standard flags like these, despite knowing the sysroot via the mfile. This fixes libraries like libdrm. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-29internal/rosa/package/x: add libxtrans to libX11 toolsOphestra
This adds a bunch of autoconf stuff. Autoconf does not support sysroot. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-29internal/rosa/package/argp-standalone: specify CFLAGSOphestra
The make helper overrides CC when cross-compiling. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-29internal/rosa/package/x: move util-macros to toolsOphestra
This is used by host autotools, so it should not be installed into the cross sysroot. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-29internal/rosa: update packagesOphestra
CMake is updated, causing a large amount of rebuilds. PipeWire WirePlumber still remains unfixed, so the backport patch remains. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-29internal/rosa/go: remove superfluous patchingOphestra
These patches are for tests only, which are no longer run for the bootstrap stages. This change also removes dynamic linker path override for the final stage, and works around the test by making musl available at the expected path in the container. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-29internal/rosa/package/flex: filter pre-releasesOphestra
Release candidates should not notify an available update. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-28internal/rosa: do not hard code prefixOphestra
This allows the prefix to be changed, at runtime if needed. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-28internal/rosa/azalea: treat keys as standard valueOphestra
This allows expressions like string concatenation for the KV key part. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-27internal/rosa: update packagesOphestra
Kernel headers remain unchanged. Kernel configuration was updated via the new oldconfig helper script. The new python release broke test_profiling. The complete lack of output makes it difficult to troubleshoot, so it has been disabled for now. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-27internal/pipewire: improve path error reportingOphestra
This replaces SyscallError with PathError when pathnames are involved. Signed-off-by: Ophestra <cat@gensokyo.uk>