Thanks, applied as ff293698c7398e439e04c069f475d6dc3d217d36.

Michael

[sent from post-receive hook]

On Wed, 14 Oct 2020 12:30:51 +0200, Gavin Schenk <g.sch...@eckelmann.de> wrote:
> systemd installs /usr/lib/tmpfiles.d/var.conf which contains
> 
>       d /var/spool 0755 - - -
> 
> This makes systemd-tmpfilesd fail creating this directory if
> the rootfs is readonly.
> 
> This patch selects ROOTFS_VAR_SPOOL, as runtime dependency, to
> ensure this directory is already available which makes
> systemd-tmpfilesd happy.
> 
> Signed-off-by: Gavin Schenk <g.sch...@eckelmann.de>
> Message-Id: <20201008102717.2215086-1-g.sch...@eckelmann.de>
> Signed-off-by: Michael Olbrich <m.olbr...@pengutronix.de>
> 
> diff --git a/rules/systemd.in b/rules/systemd.in
> index 95f77d0647a8..04c6ee998482 100644
> --- a/rules/systemd.in
> +++ b/rules/systemd.in
> @@ -33,6 +33,7 @@ menuconfig SYSTEMD
>       select HOST_SYSTEMD     if SYSTEMD_UDEV_HWDB
>       select ROOTFS_VAR_LIB   if RUNTIME
>       select ROOTFS_VAR_CACHE if RUNTIME
> +     select ROOTFS_VAR_SPOOL if RUNTIME
>       prompt "systemd                       "
>       help
>         systemd is a system and session manager for Linux, compatible with 
> SysV

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to