mirror of
https://github.com/blazblue547-afk/ForgeOS.git
synced 2026-12-02 14:34:17 -05:00
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:
1 parent
2e202eae01
commit
23681b9f48
4 files changed
+94
-30
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user