aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
AgeCommit message (Collapse)Author
2026-05-07internal/pkg: optionally register binfmtOphestra
This transparently supports curing foreign exec artifacts. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-05cmd/mbf: optional init verbosityOphestra
This output is generally not needed and only useful when debugging container machinery itself. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-04cmd/dist: increase gzip levelOphestra
Performance does not matter in this case. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-04cmd/dist: optional verbosityOphestra
This makes output less noisy. The build is fast enough not to require progress indication. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-03cmd/mbf: optionally build on early stagesOphestra
This makes debugging the bootstrap process much less cumbersome. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-02cmd/mbf: package status dashboardmae
This displays package metadata with optional status from a report.
2026-05-02cmd/mbf: test cure all via daemonOphestra
This is the daemon equivalent of CureAll in internal/rosa. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-01internal/rosa: global preset flagsOphestra
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-01internal/rosa/llvm: use llvm build systemOphestra
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-04-19cmd/mbf: default daemon socket in cacheOphestra
This location makes more sense than the current directory. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19cmd/mbf: remove pointless recoverOphestra
This used to scrub the cache, and was not fully removed when that became nonviable. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19cmd/mbf: optionally wait for cancelOphestra
Synchronisation is not needed here during interactive use. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19cmd/mbf: close on cancel completionOphestra
Like the previous change, this enables synchronisation on the client side via epoll. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19cmd/mbf: close on abort completionOphestra
This enables synchronisation on the client side via epoll. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-18internal/pkg: drop cached error on cancelOphestra
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-17cmd/mbf: abort remote curesOphestra
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-17cmd/mbf: cancel remote cureOphestra
This exposes the new fine-grained cancel API in cmd/mbf. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-17cmd/mbf: handle flags in serveOphestra
This enables easier expansion of the protocol. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-17cmd/mbf: optionally ignore replyOphestra
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-17cmd/mbf: do not abort cache acquisition during testingOphestra
This can sometimes fire during testing due to how short the test is. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-17cmd/mbf: daemon commandOphestra
This services internal/pkg artifact IR with Rosa OS extensions originating from another process. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-17cmd/mbf: do not open cache for IR encodingOphestra
This can now be allocated independently. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-16cmd/mbf: move info commandOphestra
This is cleaner with less shared state. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-16cmd/mbf: optionally open cacheOphestra
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-15internal/pkg: pass impure job countOphestra
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-14internal/rosa/cmake: remove variantOphestra
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-14internal/rosa/llvm: migrate runtimes and clangOphestra
This eliminates most newLLVM family of functions. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-14internal/rosa/llvm: migrate muslOphestra
This removes the pointless special treatment given to musl. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-14internal/rosa/llvm: migrate compiler-rtOphestra
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-13cmd/mbf: checksum commandOphestra
This computes and encodes sha384 checksum of data streamed from standard input. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-10hst: remove enablement json adapterOphestra
The go116 behaviour of built-in new function makes this cleaner. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-10hst: optionally reject insecure optionsOphestra
This prevents inadvertent use of insecure compatibility features. Closes #30. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-08cmd/sharefs: group-accessible permission bitsOphestra
This works around the race in vfs via supplementary group. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-08cmd/sharefs: reproduce vfs inode file attribute raceOphestra
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-07cmd/mbf: optional host abstractOphestra
This works around kernels with Landlock LSM disabled. Does not affect cure outcome. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-07container: remove setup pipe helperOphestra
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-06cmd/dist: set hsu tar header mode bitsOphestra
This has no effect, but is nice to have. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-05cmd/dist: replace dist/release.shOphestra
This is much more robust than a shell script. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-03internal/pkg: per-cache SCHED_IDLEOphestra
This is cleaner than setting it globally, and is impossible to race. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-03internal/pkg: cache flagsOphestra
This is cleaner for extending the API. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-02cmd/mbf: pick up $TERMOphestra
This improves behaviour of some programs. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-30all: use filepathOphestra
This makes package check portable, and removes nonportable behaviour from package pkg, pipewire, and system. All other packages remain nonportable due to their nature. No latency increase was observed due to this change on amd64 and arm64 linux. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-28cmd: document Rosa OS programsOphestra
The earlyinit and mbf program are not covered by the compatibility promise, so specify that here. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-28cmd/hsu: alternative hsurc path for Rosa OSOphestra
Rosa OS does not have /etc. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-28cmd/hsu: document hsurc format and internalsOphestra
This was previously only documented via an unexported function. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-28cmd/hakurei: document stable behaviourOphestra
These are undocumented anywhere else and is required by tools invoking hakurei. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-28cmd/hakurei: rename app to runOphestra
The run command was a legacy holdover from very early days and is only useful for testing and demonstration these days. This change also renames it to exec. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-28cmd/hakurei: remove linkname directiveOphestra
This used to be a function that did much more, and was later relocated to another package and exported. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-26cmd/mbf: optionally enter cure containerOphestra
This is very useful for troubleshooting failing tests and such. The ephemeral state is cleaned up by internal/pkg. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-26cmd/mbf: retain session by defaultOphestra
This almost never make sense to be turned off. Signed-off-by: Ophestra <cat@gensokyo.uk>