aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
AgeCommit message (Collapse)Author
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>
2026-03-26internal/pkg: collection helper-artifactOphestra
This was moved from internal/rosa because it is considered generally useful. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-25cmd/mbf: correctly describe --with-toolchainOphestra
The behaviour of this was changed to include the stage2 toolchain instead, but the help text was never updated. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-17internal/stub: move from containerOphestra
This package solves a very specific stubbing use case, in a less than elegant manner. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-17fhs: move from containerOphestra
This package is not container-specific. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-17ext: move syscall wrappers from containerOphestra
These are generally useful, and none of them are container-specific. Syscalls subtle to use and requiring container-specific setup remains in container. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-17check: move from containerOphestra
This package is not container specific, and widely used across the project. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-17ext: isolate from container/stdOphestra
These are too general to belong in the container package. This targets the v0.4 release to reduce the wrapper maintenance burden. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-14cmd/earlyinit: remount root and set firmware pathOphestra
The default search paths cannot be configured, configuring them here is most sound for now. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-14cmd/earlyinit: mount pseudo-filesystemsOphestra
The proposal for merging both init programs was unanimously accepted, so this is set up here alongside devtmpfs. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-14cmd/earlyinit: handle args from cmdlineOphestra
These are set by the bootloader. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-13cmd/mbf: optionally export outputOphestra
This is for debugging for now, as no program consumes this format yet. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-13cmd/mbf: display runtime dependency infoOphestra
This only presents top-level dependencies, resolving indirect dependencies can be misleading in this context. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-13cmd/mbf: resolve runtime dependenciesOphestra
This also adds the collection meta-artifact for concurrent curing. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-12hst: expose scheduling priorityOphestra
This is useful when limits are configured to allow it. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-12container: expose priority and SCHED_OTHER policyOphestra
The more explicit API removes the arbitrary limit preventing use of SCHED_OTHER (referred to as SCHED_NORMAL in the kernel). This change also exposes priority value to set. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-12hst: expose scheduling policyOphestra
This is primarily useful for poorly written music players for now. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-11container: move scheduler policy constants to stdOphestra
This avoids depending on cgo. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-07cmd/mbf: create report with reasonable permOphestra
Making it inaccessible certainly is not reasonable. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-07cmd/mbf: check for updates concurrentlyOphestra
Runs much faster this way. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-07cmd/mbf: optionally read report in infoOphestra
This is a useful frontend for the report files before web server is ready. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-07cmd/mbf: cure status report commandOphestra
This emits a report stream for the opened cache into the specified file. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-06cmd/mbf: merge status and info commandsOphestra
This is cleaner, and offers better integration with the work-in-progress report file. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-06cmd/mbf: info accept multiple namesOphestra
This also improves formatting for use with multiple info blocks. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-06internal/rosa: overridable version checkOphestra
For projects with strange versioning practices. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-05cmd/mbf: display metadataOphestra
For viewing package metadata before the website is ready. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-05internal/rosa: release monitoring via AnityaOphestra
This is much more sustainable than manual package flagging. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-05cmd/mbf: preset status commandOphestra
This exposes the new OpenStatus cache method. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-02cmd: remove hpkgOphestra
This proof-of-concept was abandoned long ago. Its test suite is flaky, heavy on I/O and does not increase test coverage. This change fully removes hpkg and supporting code. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-28cmd/mbf: use standalone musl in containerOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-28container: use /proc/self/exe directlyOphestra
This is a more reliable form of pathname to self and also cheaper than os.Executable. Signed-off-by: Ophestra <cat@gensokyo.uk>