package/systemd: create the /boot directory

The gpt-auto-generator can generate the boot.mount unit, which reports
an error if this directory can't be created (if / is read-only). There
is no reason not to create this directory, even if the platform doesn't
actually have a boot partition that can be mounted there.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Norbert Lange 2023-01-15 13:52:52 +01:00 committed by Arnout Vandecappelle
parent 23c5fe7909
commit 7490cac62d

View File

@ -621,6 +621,7 @@ define SYSTEMD_INSTALL_IMAGES_CMDS
endef
define SYSTEMD_PERMISSIONS
/boot d 700 0 0 - - - - -
/var/spool d 755 0 0 - - - - -
/var/lib d 755 0 0 - - - - -
/var/lib/private d 700 0 0 - - - - -