This ensures the /storage filesystem will have the correct options
(block size, inode_ratio etc) for the target partition size.
Signed-off-by: Matthias Reichl <hias@horus.com>
The settings addon no longer creates the trigger file that would activate
these functions. They're not necessary and we instead rely on RPi's
bootloader to do the right thing when presented with flash upgrade files.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
For the SYSTEM copy to /dev always use /dev/SYSTEM as target name
to not deal with fancy path or filenames.
Thanks HiassofT for clearing it up for me why that is best.
As far as i can tell all the rest of init is fine with BOOT_IMAGE and
SYSTEM_IMAGE having slashes in there.
Just toram was broken.
Fix for:
systemd[1]: local-fs.target: Found ordering cycle on var-log.mount/start
systemd[1]: local-fs.target: Found dependency on local-fs-pre.target/start
systemd[1]: local-fs.target: Found dependency on systemd-tmpfiles-setup-dev.service/start
systemd[1]: local-fs.target: Found dependency on machine-id.service/start
systemd[1]: local-fs.target: Found dependency on local-fs.target/start
systemd[1]: local-fs.target: Job var-log.mount/start deleted to break ordering cycle starting with local-fs.target/start