ostree/src/switchroot
Alex Kiernan 11eb0bd227 switchroot: Move late /run/ostree-booted creation to ostree-system-generator
When ostree-prepare-root is pid 1, ostree-prepare-boot defers creation of
/run/ostree-booted, which happens in ostree-remount, but that's too late
if we need ostree-system-generator to bind /var. Add the creation of the
/run/ostree-booted marker to ostree-system-generator based on the
existence of the ostree= kernel command line argument (which matches the
condition that ostree-remount uses).

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>

Closes: #1675
Approved by: cgwalters
2018-07-09 00:11:31 +00:00
..
ostree-mount-util.h switchroot: Allow letting ostree-prepare-root mount /var 2018-06-07 21:41:32 +00:00
ostree-prepare-root.c switchroot: Move late /run/ostree-booted creation to ostree-system-generator 2018-07-09 00:11:31 +00:00
ostree-remount.c switchroot: Move late /run/ostree-booted creation to ostree-system-generator 2018-07-09 00:11:31 +00:00
ostree-system-generator.c switchroot: Move late /run/ostree-booted creation to ostree-system-generator 2018-07-09 00:11:31 +00:00
switchroot.sh switchroot: Document a bit more, add demo shell implementation 2017-04-19 18:52:05 +00:00