You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f9319e4
Browse filesBrowse the repository at this point in the historyBrowse files
W3BS OS: dev tools + root-w3bs-os during the install, clear encryption choice, GUI fonts, w3bs trust fix (#209)
Asked for: pnpm and bun via mise, curl, wget, `pnpm i -g @profullstack/readm3`, and the
cli-tools root-*.sh (Alpine: root-w3bs-os.sh) run during the install, plus an obvious way to
skip disk encryption. Found on VirtualBox: the install log was black on black.
- Every install (desktop and server): curl wget mise nodejs npm; per user mise use -g bun
npm:pnpm (npm backend: no GitHub API rate limit; Node from Alpine since mise's is glibc),
pnpm i -g @profullstack/readm3; /etc/profile.d/w3bs-dev.sh puts shims and PNPM_HOME on PATH.
- root-w3bs-os via its pinned, sha256-checked installer, run in the target for the users
(--groups wheel --refresh); /etc/local.d/w3bs-first-boot.start re-runs it once at first
boot to enable the services a chroot cannot start.
- GUI: the installer's packages stay in the live world (removing them let apk delete the
fonts mid-install: blank log and labels); they are dropped from the target's world instead.
Disk page: "Encrypt the disk (recommended)" / "Do not encrypt" cards.
- w3bs-core: an empty or unparseable saved root.json fell back to nothing and every w3bs
install failed ("Failed to parse trusted root metadata: EOF"), so moshcode/hqterm never
installed; use the pinned initial root instead. Installer also deletes 0-byte root.json and
makes the motd cache readable (login printed "Permission denied").
Tested: QEMU server install -> curl wget mise node bun pnpm readm3 0.20.0 threatcrush tmux ufw
oh-my-zsh present, first boot completed; VirtualBox reproduced the blank log (Pango "file not
found"); cargo test -p w3bs-core 24 passed.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: os/iso/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,9 @@ installed system do not boot with Secure Boot on.
25
25
| Desktop | Hyprland with greetd + tuigreet (below); the installer shows a numbered menu |`--desktop hyprland\|plasma\|gnome\|xfce\|none`|
26
26
| W3BS |`w3bs` and `w3bs-desktop` (musl builds) in `/usr/local/bin`; the W3BS repository (`https://w3bs.org/repo/`, pinned to `registry/FINGERPRINT`) is added for each user at first login ||
27
27
| Browsers | desktop installs: Firefox (SUPER+B) and [TronBrowser](https://tronbrowser.dev) (SUPER+SHIFT+B) for every user; TronBrowser runs on the Flathub Ungoogled Chromium, since its own engine is a glibc build ||
28
+
| Dev tools | every install: curl, wget, Node (Alpine, musl), mise managing bun and pnpm per user (`mise use -g bun npm:pnpm`), and `pnpm i -g @profullstack/readm3`; on PATH via /etc/profile.d/w3bs-dev.sh ||
29
+
| Box setup | every install runs [root-w3bs-os](https://github.com/profullstack/cli-tools/blob/master/root-w3bs-os.sh) (cli-tools, pinned + sha256-checked) for the users: oh-my-zsh, oh-my-tmux, threatcrush, moshcode, hqterm, ufw, swap/zram/earlyoom, per-user Caddy; services it cannot start in the install chroot are finished by a one-time run at first boot (/var/log/w3bs-first-boot.log) ||
30
+
| Encryption choice | text: the yes/no question or `--no-encrypt`; graphical: "Encrypt the disk" or "Do not encrypt" on the disk page ||
28
31
| Agentic Desktop Layer | broker and tray autostart in the desktop session; agent access is **off** until the user turns it on (never `--enabled-by-default`) ||
29
32
30
33
The installer shows a review screen (exact disk, size, model, current partitions, every
let initial = std::fs::read(dir.join("initial-root.json"))
108
108
.map_err(|e| Error::preflight("TRUST_STATE",format!("trust root for repository `{alias}` is missing: {e}; run `w3bs repo remove {alias}` and add it again")))?;
109
-
// The datastore holds the newest root reached through verified rotation; prefer it.
110
-
let anchor = std::fs::read(dir.join("root.json")).unwrap_or_else(|_| initial.clone());
109
+
// The datastore holds the newest root reached through verified rotation; prefer it. An empty
110
+
// or unparseable one (a write cut short: seen as a 0-byte root.json after a W3BS OS install)
111
+
// would fail every load for good, so fall back to the pinned initial root and let TUF walk
112
+
// the rotations again.
113
+
let anchor = match std::fs::read(dir.join("root.json")){
0 commit comments