Original cos-immutable-rootfs sets the sentinel to livecd if it finds
the rd.cos.disable in the cmdline.
We should do the same. Unfortunately the state sdk doesnt support that
yet so we have to do it on our side until its supported
Signed-off-by: Itxaka <itxaka.garcia@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>