From 7490cac62d42370a0a954d44ec34537e81234dd9 Mon Sep 17 00:00:00 2001 From: Norbert Lange Date: Sun, 15 Jan 2023 13:52:52 +0100 Subject: [PATCH] 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 Signed-off-by: Arnout Vandecappelle --- package/systemd/systemd.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 824c811c0c..13cd41f75b 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -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 - - - - -