package/systemd: fix pre-creation of directories for coredump

Fix a copy-paste bug in commit be25669078.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Norbert Lange 2022-01-09 12:09:58 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 8b94dab2ee
commit 99dabffc09

View File

@ -414,7 +414,7 @@ endif
ifeq ($(BR2_PACKAGE_SYSTEMD_COREDUMP),y)
SYSTEMD_CONF_OPTS += -Dcoredump=true
SYSTEMD_COREDUMP_USER = systemd-coredump -1 systemd-coredump -1 * - - - systemd core dump processing
SYSTEMD_HOMED_PERMISSIONS = /var/lib/systemd/coredump d 755 0 0 - - - - -
SYSTEMD_COREDUMP_PERMISSIONS = /var/lib/systemd/coredump d 755 0 0 - - - - -
else
SYSTEMD_CONF_OPTS += -Dcoredump=false
endif
@ -576,6 +576,7 @@ define SYSTEMD_PERMISSIONS
$(SYSTEMD_LOGIND_PERMISSIONS)
$(SYSTEMD_MACHINED_PERMISSIONS)
$(SYSTEMD_HOMED_PERMISSIONS)
$(SYSTEMD_COREDUMP_PERMISSIONS)
$(SYSTEMD_PSTORE_PERMISSIONS)
$(SYSTEMD_TIMESYNCD_PERMISSIONS)
endef