| Age | Commit message (Collapse) | Author |
|
This does a bunch of unnecessary things and is another heavy piece of
GNU software we can get rid of. Toybox patch works just fine. This
causes rebuilds due to backup files no longer being created.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This change avoids duplicating this piece of code all over the place.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Rosa OS does not use the common /usr prefix.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Position information was not fully populated when this was first
implemented. The lack of any position information keeps the user
guessing. This change includes position information in the error and
formats it as part of the error message.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Useful for troubleshooting the integration test suite.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Used by the integration test suite to check privileged protocols.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
In the Rosa OS environment, 5 ends up left open when the file itself is
removed. This causes EINVAL. This change replaces the fd number instead.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This can be incremented by other netlink uses.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
The infinity argument is not available in lksh or toybox.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Kernel headers remain unchanged. Zlib assumes GNU binutils behaviour,
breaks linking, and a completely unnecessary cross-compiling check
breaks coverage testing while cross-compiling. Mesa removes anti-lag,
gains dependency venus-protocol, manages to add the missing header in
file src/freedreno/common/freedreno_common.h, but somehow not
src/gfxstream/guest/vulkan_enc/ResourceTracker.h. GNU automake manages
to introduce four broken tests in a single release.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
The rootfs (initial ramfs) cannot be pivot_root()ed. This change works
around that limitation by making / a bind mount of the rootfs.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This does not require additional state, so mount it early.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is only used by the test suite. Autoroot is generally never used.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is available on Rosa OS via the compatibility symlink.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
These normally do not exist on Rosa OS.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This was somehow missed, making hakurei unable to run on Rosa OS kernel.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
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>
|
|
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>
|
|
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>
|
|
This reduces unnecessary rebuilds.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This avoids having to set up the setuid wrapper while making the system
image.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
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>
|
|
This increases output readability in the test suite.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
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>
|
|
This uses the correct prefix when compiled for Rosa OS.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
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>
|
|
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>
|
|
Keeping these owned by the hardcoded build uid (1023) is pointless and
breaks setuid wrappers.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
It does not make sense to dispatch trivial errors in user-facing builds.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
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>
|
|
This prints a message every second for a long-running poll.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
The Rosa OS target triple does not work outside of Rosa OS.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
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>
|
|
Used by the integration test suite.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Required by xset.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Required by libXmu.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Required by libXt.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Required by libSM.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
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>
|
|
Nothing is actually compiled here, these simply package cross-compiled
binaries using native tools.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
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>
|
|
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>
|
|
Running this via qemu requires extensive patching, so disable them
for now.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Useful during testing and debugging to leave / writable.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Rosa OS does not have the concept of unix user accounts.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
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>
|
|
Useful for sharing a directory during integration testing.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This change also adds a missing doc comment.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This directory is not used by Rosa OS, but may be useful during testing.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Useful for integration testing without rebuilding the system image.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|