Release layout and updates

Ironforge is a rolling system. Each release is a matching pair of read-only SquashFS images: one mounted at /usr and one mounted at /opt. The pair must always come from the same release.

Release IDs

Release IDs are UTC timestamps in YYYYMMDDHHMM form. For example, 202607111230 identifies the release created at 12:30 UTC on 11 July 2026.

Published releases are discovered through signed repository metadata rather than by listing files in object storage:

forge release list

Use --json when another program needs the release list:

forge release list --json

Files on an installed system

All local SquashFS images are stored beneath /os:

/os/
├── current -> releases/202607111230
└── releases/
    └── 202607111230/
        ├── manifest.json
        ├── usr.sqfs
        └── opt.sqfs

The current link selects both members of the release at once. The initrd defaults to /os/current/usr.sqfs and /os/current/opt.sqfs, and resolves the selected directory once before mounting the pair. No image links are needed at / or the /os top level.

Activate a selected release

Selecting a release does not immediately remount the running system. A normal reboot applies both /usr and /opt. forge soft-reboot refreshes both images without restarting the kernel.

Retention and disk usage

Local release directories are retained to make rollback possible. Forge does not automatically delete old releases, so periodically inspect /os/releases and available disk space. Never remove the directory named by current, or a release still mounted at /usr or /opt. Use forge release list --local to see selected and running releases.

Moving an existing installation

Move the former /var/ironforge/releases/ directory (or /var/ironforge/images/releases/ on installations using that layout) to /os/releases/. Preserve the selected release ID and create /os/current -> releases/<ID>. Move older loose images and their checksum files into /os/images/legacy/, then remove the old top-level image aliases. Rename files on the same filesystem so running loop mounts keep their backing inodes.

Install the updated initrd and shutdown hook and update any explicit sqfs=/optsqfs= kernel arguments before rebooting. Those arguments override the new defaults. The new layout does not create compatibility aliases at the old locations. Historical rollback images remain available in the image store.