cat
37df040d85
internal/rosa: evaluate packages from fs
...
This migrates GNU sed to azalea, and resulting IR matches.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-18 17:54:01 +09:00
cat
3e236333a7
internal/rosa: panic error for invalid handle
...
This enables recovery and better error handling for errors originating from external azalea files.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-18 00:07:39 +09:00
cat
99b324fb17
cmd/mbf: update pkgserver title text
...
This makes more sense for its purpose.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-17 18:57:26 +09:00
kat
6f50811dc9
cmd/mbf: bring back pkgserver's favicon!
...
It existed in mae's #33 , but ozy was not satisfied with including
a binary file identical to https://hakurei.app's favicon, and hence
removed it. However, it's possible to explicitly specify the favicon
with a link tag [1]; provided a content security policy that isn't too
strong, this should work fine.
[1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel#icon
2026-05-17 19:47:42 +10:00
cat
6b87bac401
cmd/mbf: clone pkgserver order slices
...
These are no longer arrays, so must be cloned for sorting.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-17 18:30:57 +09:00
cat
38bc2c7508
internal/rosa: pass stage alongside state
...
This cleans up many function signatures.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-17 17:50:30 +09:00
cat
30eb0d6a61
internal/rosa: key metadata by string
...
For upcoming azalea integration. The API is quite ugly right now to ease migration.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-17 15:56:53 +09:00
cat
7997d79e56
cmd/mbf: display and destroy fault entries
...
This change extends cmd/mbf commands for working with fault entries.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-13 19:06:09 +09:00
cat
ee5c0dd135
cmd/dist: optionally skip tests
...
Works around incomplete syscall translation by qemu.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-10 04:15:07 +09:00
cat
a890e1d0e5
cmd/mbf: optionally override non-native flags
...
This is a clean workaround for configuration differences to save time during development.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-08 13:45:36 +09:00
cat
e3520835bb
cmd/mbf: optionally register all targets
...
This enables non-native cures from the daemon.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-08 13:29:58 +09:00
cat
0e56847754
cmd/mbf: add arm64 magic
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-08 00:23:09 +09:00
cat
145d03b366
cmd/mbf: optional emulated target architecture
...
This enables transparent cross-compilation without breaking purity.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-07 20:29:31 +09:00
cat
8d72b9e5bd
internal/pkg: optionally register binfmt
...
This transparently supports curing foreign exec artifacts.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-07 19:43:06 +09:00
cat
15cdb37ec2
cmd/mbf: optional init verbosity
...
This output is generally not needed and only useful when debugging container machinery itself.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-05 23:56:16 +09:00
cat
1cb792cf6e
cmd/dist: increase gzip level
...
Performance does not matter in this case.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-04 04:04:18 +09:00
cat
b2b40b07e8
cmd/dist: optional verbosity
...
This makes output less noisy. The build is fast enough not to require progress indication.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-04 04:02:02 +09:00
cat
a71a008f3c
cmd/mbf: optionally build on early stages
...
This makes debugging the bootstrap process much less cumbersome.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-03 18:46:47 +09:00
maemachinebroke
1d5d063d6a
cmd/mbf: package status dashboard
...
This displays package metadata with optional status from a report.
2026-05-02 05:05:56 +09:00
cat
e61628a34e
cmd/mbf: test cure all via daemon
...
This is the daemon equivalent of CureAll in internal/rosa.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-02 02:39:12 +09:00
cat
445d95023b
internal/rosa: global preset flags
...
These changes preset behaviour globally. Useful for ad hoc workarounds for development or bootstrapping on resource-constrained systems.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-01 03:42:48 +09:00
cat
fc66f0bb47
internal/rosa/llvm: use llvm build system
...
This removes the multistep bootstrap hack. Stage0 exceptions are also eliminated for a later change to bring the stage0 distribution down to just a bare toolchain, toybox and shell. This change also enables dynamic linking and ThinLTO.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-01 03:36:58 +09:00
cat
021cbbc2a8
cmd/mbf: default daemon socket in cache
...
This location makes more sense than the current directory.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-19 19:50:54 +09:00
cat
a4a54a4a4d
cmd/mbf: remove pointless recover
...
This used to scrub the cache, and was not fully removed when that became nonviable.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-19 19:49:01 +09:00
cat
753432cf09
cmd/mbf: optionally wait for cancel
...
Synchronisation is not needed here during interactive use.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-19 18:24:11 +09:00
cat
4dcec40156
cmd/mbf: close on cancel completion
...
Like the previous change, this enables synchronisation on the client side via epoll.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-19 15:03:52 +09:00
cat
9a274c78a3
cmd/mbf: close on abort completion
...
This enables synchronisation on the client side via epoll.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-19 14:53:28 +09:00
cat
9e752b588a
internal/pkg: drop cached error on cancel
...
This avoids disabling the artifact when using the individual cancel method. Unfortunately this makes the method blocking.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-18 03:24:48 +09:00
cat
b80ea91a42
cmd/mbf: abort remote cures
...
This command arranges for all pending cures to be aborted. It does not wait for cures to complete.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-17 22:47:02 +09:00
cat
8d657b6fdf
cmd/mbf: cancel remote cure
...
This exposes the new fine-grained cancel API in cmd/mbf.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-17 22:00:04 +09:00
cat
dd6a480a21
cmd/mbf: handle flags in serve
...
This enables easier expansion of the protocol.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-17 20:14:09 +09:00
cat
9036986156
cmd/mbf: optionally ignore reply
...
An acknowledgement is not always required in this use case. This change also adds 64 bits of connection configuration for future expansion.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-17 16:46:49 +09:00
cat
a394971dd7
cmd/mbf: do not abort cache acquisition during testing
...
This can sometimes fire during testing due to how short the test is.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-17 02:06:51 +09:00
cat
9daba60809
cmd/mbf: daemon command
...
This services internal/pkg artifact IR with Rosa OS extensions originating from another process.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-17 02:05:59 +09:00
cat
bcd79a22ff
cmd/mbf: do not open cache for IR encoding
...
This can now be allocated independently.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-17 01:04:39 +09:00
cat
823575acac
cmd/mbf: move info command
...
This is cleaner with less shared state.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-16 17:43:52 +09:00
cat
136bc0917b
cmd/mbf: optionally open cache
...
Some commands do not require the cache. This change also makes acquisition of locked cache cancelable.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-16 15:59:34 +09:00
cat
f7f48d57e9
internal/pkg: pass impure job count
...
This is cleaner than checking cpu count during cure, it is impossible to avoid impurity in both situations but this is configurable.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-15 15:36:44 +09:00
cat
5b5b676132
internal/rosa/cmake: remove variant
...
This has no effect outside formatting of name and is a remnant of the old llvm helpers.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-14 02:57:47 +09:00
cat
e97f6a393f
internal/rosa/llvm: migrate runtimes and clang
...
This eliminates most newLLVM family of functions.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-14 02:07:13 +09:00
cat
ac825640ab
internal/rosa/llvm: migrate musl
...
This removes the pointless special treatment given to musl.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-14 00:35:42 +09:00
cat
a7f7ce1795
internal/rosa/llvm: migrate compiler-rt
...
The newLLVM family of functions predate the package system. This change migrates compiler-rt without changing any resulting artifacts.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-14 00:19:33 +09:00
cat
86eacb3208
cmd/mbf: checksum command
...
This computes and encodes sha384 checksum of data streamed from standard input.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-13 03:09:21 +09:00
cat
560cb626a1
hst: remove enablement json adapter
...
The go116 behaviour of built-in new function makes this cleaner.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-10 20:47:30 +09:00
cat
c33a6a5b7e
hst: optionally reject insecure options
...
This prevents inadvertent use of insecure compatibility features.
Closes #30 .
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-10 19:34:02 +09:00
cat
b0ba165107
cmd/sharefs: group-accessible permission bits
...
This works around the race in vfs via supplementary group.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-08 16:14:47 +09:00
cat
351d6c5a35
cmd/sharefs: reproduce vfs inode file attribute race
...
This happens in the vfs permissions check only and stale data appears to never reach userspace.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-08 15:51:36 +09:00
cat
f23f73701c
cmd/mbf: optional host abstract
...
This works around kernels with Landlock LSM disabled. Does not affect cure outcome.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-07 18:15:49 +09:00
cat
062edb3487
container: remove setup pipe helper
...
The API forces use of finalizer to close the read end of the setup pipe, which is no longer considered acceptable. Exporting this as part of package container also imposes unnecessary maintenance burden.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-07 16:05:33 +09:00
cat
6907700d67
cmd/dist: set hsu tar header mode bits
...
This has no effect, but is nice to have.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-06 23:37:38 +09:00