- Set global debug log
- Set caller in the log if debug
- Fatal if cannot get target image
- clean up slices from cos-layoout.env
- Add generic log with more context info
- dump runtime to log on start
- Set proper default paths if overlay is empty (fixes recovery)
- Fix ErrAlreadyMounted to not trigger failures
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
- set debug level via cmdline
- set default RW paths needed ALWAYS to boot a working system, even
with no config files(recovery)
- Check for loop device before mounting it to avoid duplicated mounts
- Force overlay and bind arrays to uniqueness
- Rename OverlayDir to OverlayDirs to better represent the content
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
- drop vfs
- less hardcoded stuff, use the runtime status
- Remove things that syscalls dont understand (defaults, auto)
Signed-off-by: Itxaka <itxaka@spectrocloud.com>