ostree/src/switchroot
Colin Walters fea9277020 switchroot: Don't log if running as pid1, minor code style cleanups
If we're running as pid1, avoid printing anything in the normal
success paths as we don't want to affect the physical console by
default; the device may be using a splash screen, etc.

Also cleanup the code a bit to use a single variable
`running_as_pid1`, declare-and-initialize, use the
`bool` type, etc.

Closes: #1531
Approved by: jlebon
2018-04-13 20:01:51 +00:00
..
ostree-mount-util.h switchroot: Ensure /run/ostree-booted is created even without initramfs 2018-03-22 19:02:29 +00:00
ostree-prepare-root.c switchroot: Don't log if running as pid1, minor code style cleanups 2018-04-13 20:01:51 +00:00
ostree-remount.c switchroot: Ensure /run/ostree-booted is created even without initramfs 2018-03-22 19:02:29 +00:00
ostree-system-generator.c Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
switchroot.sh switchroot: Document a bit more, add demo shell implementation 2017-04-19 18:52:05 +00:00