Files
bare-operating-system/packages/bare-os-seeder/kernel/bin/systemctl
T
Raven Scott d38b6eeaac feat(booter): disk.os bridge, systemctl ctx API, delegates, and docs
- Add createBareOsDiskOsBridge for Hyperdrive searchLocal + whitelisted
  bare_os.* execRpc; wire disk.os after initd
- Expose ctx.bareOsRunSystemctlCli; route /bin/systemctl and journalctl
  through it (sync seeder kernel/bin)
- Implement ssh-keygen passphrase envelope (bareOsKeySchema 2, PBKDF2 +
  ChaCha20-Poly1305); add warc and archive delegates
- Extend basenc (--base32/--base64); improve hostid/users session UX
- Introduce bare-os-boot-phases, bare-os-errors; CI boot-step alignment
- Bump BARE_OS_CTX_API_VERSION to 1.28.0; update ctx d.ts and verifiers
- Add KERNEL_CONTRACT, OTA_AND_BUNDLES, PLACEHOLDER_BASELINE; handbook
  disk.os + security hooks; reference docs and CHANGELOG
2026-04-04 18:09:08 -04:00

12 lines
393 B
Plaintext

/* BARE_OS_BIN_API 1.0.0 — delegates to booter systemctl-cli when ctx exposes bareOsRunSystemctlCli. */
async function run(ctx, argv) {
if (typeof ctx.bareOsRunSystemctlCli === 'function') {
await ctx.bareOsRunSystemctlCli(argv)
return
}
ctx.console.error(
'systemctl: ctx.bareOsRunSystemctlCli missing — run under host booter / upgrade ctx API'
)
ctx.exitCode = 1
}