Skip to content

Commit d158352

Browse files
lemonhub-ioclaude
andcommitted
Require apt in Debian and Ubuntu smoke tests
BoxRootfs 2026.10.24.2 ships apt in Ubuntu images. Update the docs and the Workspace notice, which now only applies to environments installed from the earlier release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent a43d13c commit d158352

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The shared workspace and files outside the environment are not included in envir
6161

6262
This is a Linux **userspace**, sharing Android’s kernel. It does not provide Android root, a virtual machine, systemd boot, kernel modules, or a preinstalled graphical desktop. Distributions start as minimal command-line systems; install tools using `apt` or `apk`. Desktop/VNC packages can be managed from the terminal, but BoxOS does not include a graphical desktop viewer. Foreign-architecture QEMU execution is not exposed; only native-architecture images are installed.
6363

64-
Package tools are detected from the installed image. The Ubuntu AMD64 image in BoxRootfs release `2026.10.24` contains `dpkg` but omits `apt`/`apt-get`; its shell, file operations, and dpkg work. BoxOS labels this capability in Workspace rather than presenting apt as installed. Debian provides a ready-to-use apt environment. Compatible `.deb` files and their dependencies can also be imported and installed using dpkg. This upstream image limitation does not require a client update when a later BoxRootfs image includes apt.
64+
Package tools are detected from the installed image. Debian and Ubuntu images include apt; Alpine includes apk. Ubuntu environments installed from BoxRootfs release `2026.10.24` contain `dpkg` but not `apt`, and BoxOS labels them in Workspace rather than presenting apt as installed. Install a new Ubuntu environment to get apt, or import compatible `.deb` files and install them using dpkg.
6565

6666
BoxKernel is not a security boundary. Programs can access data available to the Android application. Android can terminate background work under memory pressure or vendor power-management rules. Terminal processes are not restored after process death; installed files and settings persist. Checksums verify that an image matches the HTTPS-delivered catalog; they do not replace upstream release signing.
6767

‎app/src/main/java/io/boxos/app/ui/WorkspaceScreen.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ fun WorkspaceScreen(environments: List<Environment>, sessions: List<BoxSession>,
8282
Spacer(Modifier.weight(1f))
8383
FilledTonalButton({ onLaunch(env) }, enabled = !busy, contentPadding = PaddingValues(horizontal = 14.dp, vertical = 8.dp)) { Icon(Icons.Rounded.Terminal, null, Modifier.size(16.dp)); Text(" Launch", fontSize = 12.sp) }
8484
}
85-
if (env.packageManager == "dpkg") Text("This image includes dpkg and omits apt. Import .deb packages in Files, or use Debian for a ready-to-use apt environment.", fontSize = 11.sp, lineHeight = 17.sp, color = MaterialTheme.colorScheme.onSurfaceVariant, modifier = Modifier.padding(top = 10.dp))
85+
if (env.packageManager == "dpkg") Text("This environment was installed from an image without apt. Install a new environment to get apt, or import .deb packages in Files.", fontSize = 11.sp, lineHeight = 17.sp, color = MaterialTheme.colorScheme.onSurfaceVariant, modifier = Modifier.padding(top = 10.dp))
8686
}
8787
}
8888
}

‎scripts/host-smoke.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@
4242
"set -eu; test \"$(id -u)\" = 0; printf boxos > /root/probe; test \"$(cat /root/probe)\" = boxos; "
4343
"mkdir /root/work; ln /root/probe /root/work/hardlink; test \"$(cat /root/work/hardlink)\" = boxos; "
4444
"sh -c 'echo child-process-ok'; " +
45-
("/sbin/apk --version; " if image["distro"] == "alpine" else
46-
"if command -v apt >/dev/null; then apt --version; else dpkg --version; echo 'Image capability: dpkg only (apt omitted upstream)'; fi; ") +
45+
("/sbin/apk --version; " if image["distro"] == "alpine" else "apt-get --version; ") +
4746
"uname -m; echo BOXOS_SMOKE_OK"]
4847
result = subprocess.run(args, text=True, capture_output=True, timeout=60)
4948
print(result.stdout, flush=True)

0 commit comments

Comments
 (0)