aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
AgeCommit message (Collapse)Author
2026-06-24release: 0.4.5v0.4.5Ophestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-23cmd/app: zero state buffer before reuseOphestra
Package internal/store expects a zero-initialised buffer. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-23cmd/app: display user-facing error messageOphestra
This is required for useful error messages for errors originating from internal/store. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-23cmd/app: expose scheduling configurationOphestra
Useful for the music player. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-21cmd/app: enforce mutable instance exclusionOphestra
This avoids invoking undefined behaviour in the underlying overlay filesystem implementation. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-21cmd/app: centralise workdirOphestra
This makes the directory structure significantly more manageable. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-20cmd/app: configure username and hostnameOphestra
These no longer need to be hardcoded since this is not subject to the limitations of home-manager. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-20cmd/app: optional interactive shellOphestra
Enabling this unconditionally causes the new configuration prompt to be shown when started from a terminal, and is generally less robust than not reading zshrc unless explicitly required. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-20cmd/app: remove sysfs bind mountsOphestra
This should be in common instead. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-20cmd/app: additional bind typesOphestra
This adds optional and device mount points. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-20cmd/app: pass user-specified argumentsOphestra
An extra argument is added to pad out argv0. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-20cmd/app: optionally override configured commandOphestra
Useful for multiple applications sharing state. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-20cmd/dist: build hsu separatelyOphestra
This program must be built with cgo disabled, and was missed when migrating build script. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-20hst: optionally disable file placementOphestra
This works around stubborn package managers. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-19cmd/app: include template name in container metadataOphestra
This helps disambiguate active mutable containers. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-19cmd/app: use ROSA_ prefixOphestra
This avoids awkward case-insensitive zsh completion. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-18cmd/app: multiple template uppersOphestra
Having multiple environments is useful, and this was trivial to implement. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-18cmd/app: common configuration fileOphestra
Generally useful for shared storage and environment. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-17release: 0.4.4v0.4.4Ophestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-17hst: optionally cover /run/ earlyOphestra
This works around awkward root permissions. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-17cmd/app: use ephemeral overlay rootOphestra
This replaces autoroot. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-17cmd/app: start application from configurationOphestra
This is currently not very usable due to hakurei immutable overlay mount limitations. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-17cmd/app: high-level app configuration syntaxOphestra
This replaces the nixos module. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-16cmd/app: initial container template commandOphestra
This program is an experimental frontend for cmd/hakurei. This serves as a short-term replacement of the nixos module and a testing environment to implement API useful to planterette. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-10cmd/mbf: migrate shell to enterOphestra
This reduces duplicate code. This change also adds resolv.conf to the container. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-10cmd/mbf: register binfmt entry for shellOphestra
This fixes --arch for shell. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-09cmd/hsu: remove parent checkOphestra
This check serves no real purpose and only makes it more difficult to start containers. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-09internal/rosa: expose supported architecturesOphestra
This information is useful to external tooling and makes a lot more sense in this package than cmd/mbf. This change also fixes non-native artifact resolution during clean. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-08all: apply modernisersOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-08cmd/mbf: custom azalea pathOphestra
This enables out-of-tree packaging. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-07internal/rosa: access backing storage through fsOphestra
This is more versatile than hardcoding the os.Root implementation. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-07internal/rosa: mirror service via external cacheOphestra
This provides an authenticated implementation of the external cache. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-03internal/pkg: streaming archive reader/writerOphestra
This is much more robust and efficient than the simple buffering implementation for larger files. Allocations happen almost exclusively in WalkDir. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-02cmd/mbf: keep non-native entries aliveOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-02cmd/mbf: garbage collection commandsOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-30internal/rosa: annotate blocked updatesOphestra
These situations, while unfortunate, are inevitable at a larger scale. This change enables annotation and optional hiding of blocked updates. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-27cmd/earlyinit: mount /dev/shmOphestra
Required by many programs. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-27cmd/earlyinit: improve change message formattingOphestra
This is significantly more readable. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-27cmd/earlyinit: downgrade target error severityOphestra
This happens during coldboot, before reporting gains persistent state. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-27cmd/earlyinit: load device driversOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-27internal/kobject: pass action kind for rangeOphestra
Useful for handling most uevents. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-27internal/rosa/cmake: use DESTDIR instead of --prefixOphestra
Turns out --prefix is deeply broken, and DESTDIR works even when using ninja. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-27cmd/earlyinit: mount system deviceOphestra
This currently relies on a trusted bootloader to determine the boot device. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-23internal/rosa/package: migrate stage0Ophestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-22internal/rosa: IR-curable source overrideOphestra
This creates a tarball in-memory for overriding hakurei-source. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-22release: 0.4.3v0.4.3Ophestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-21cmd/dist: include version in releaseOphestra
This makes HAKUREI_VERSION optional during build. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-21internal/rosa: do not register stage0Ophestra
Nothing can depend on this, so remove it from the namespace. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-21internal/rosa: enforce exclusionsOphestra
This restores unexported artifact behaviour. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-20internal/rosa: remove global handlesOphestra
These no longer serve any purpose. Signed-off-by: Ophestra <cat@gensokyo.uk>