fix(image): wait longer for app layer

Remote hardware can expose FORGE_APPS later than QEMU. Give systemd more time for the app partition and make bind mounts explicitly depend on forge.mount.

Also teach forgeos-app to locate Nix through the default profile or store path and print app-layer recovery commands when Nix is unavailable.
This commit is contained in:
blazblue547-afk committed 2026-06-17 21:21:38 -04:00
1 parent 2e202eae01
commit 23681b9f48
4 files changed
+94 -30

No files matched your search

+15
View File
@@ -59,6 +59,21 @@ The wrapper uses Nix profiles underneath, so direct Nix commands still work:
nix profile install nixpkgs#hello
```
If `forgeos-app` says `nix is unavailable`, check whether the app layer mounted:
```bash
forgeos-app status
lsblk -f
```
On an installed system with a `FORGE_APPS` partition, recover the current boot as root:
```bash
mount LABEL=FORGE_APPS /forge
mount -a
systemctl restart forgeos-nix-bootstrap.service nix-daemon.socket nix-daemon.service
```
To build a UEFI disk image:
```bash