Message ID | 997d53a3599a9c3c203f3ea538df1e411241b2c2.1699958492.git.lukas.funke@weidmueller.com |
---|---|
State | New |
Headers | show |
Series | tmpfiles.d: use nonarch libdir | expand |
Lukas Funke <lukas.funke-oss@weidmueller.com> escreveu no dia terça, 14/11/2023 à(s) 11:00: > From: Malte Schmidt <malte.schmidt@weidmueller.com> > > The documentation of systemd states that /etc/tmpfiles.d should be > reserved for the local administrator and packages should put their files > in /usr/lib/tmpfiles.d [1]. > > [1] https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html > > Signed-off-by: Malte Schmidt <malte.schmidt@weidmueller.com> > Signed-off-by: Stefan Herbrechtsmeier < > stefan.herbrechtsmeier@weidmueller.com> > --- > meta/recipes-core/systemd/systemd_254.4.bb | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/meta/recipes-core/systemd/systemd_254.4.bb > b/meta/recipes-core/systemd/systemd_254.4.bb > index cc0e29fdd2..48d467dfdd 100644 > --- a/meta/recipes-core/systemd/systemd_254.4.bb > +++ b/meta/recipes-core/systemd/systemd_254.4.bb > @@ -282,12 +282,12 @@ do_install() { > [ ! -e ${D}/${base_sbindir}/udevd ] && ln -s > ${rootlibexecdir}/systemd/systemd-udevd ${D}/${base_sbindir}/udevd > > install -d ${D}${sysconfdir}/udev/rules.d/ > - install -d ${D}${sysconfdir}/tmpfiles.d > + install -d ${D}${exec_prefix}/lib/tmpfiles.d for rule in $(find ${WORKDIR} -maxdepth 1 -type f -name "*.rules"); > do > install -m 0644 $rule ${D}${sysconfdir}/udev/rules.d/ > done > > - install -m 0644 ${WORKDIR}/00-create-volatile.conf > ${D}${sysconfdir}/tmpfiles.d/ > + install -m 0644 ${WORKDIR}/00-create-volatile.conf > ${D}${exec_prefix}/lib/tmpfiles.d/ > > if > ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then > install -d ${D}${sysconfdir}/init.d > -- > 2.30.2 > > Hi Lukas, Why not ${nonarch_libdir} instead of ${exec_prefix}/lib as in all the other patches in this series? Jose > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#190493): > https://lists.openembedded.org/g/openembedded-core/message/190493 > Mute This Topic: https://lists.openembedded.org/mt/102581153/5052612 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ > quaresma.jose@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > >
diff --git a/meta/recipes-core/systemd/systemd_254.4.bb b/meta/recipes-core/systemd/systemd_254.4.bb index cc0e29fdd2..48d467dfdd 100644 --- a/meta/recipes-core/systemd/systemd_254.4.bb +++ b/meta/recipes-core/systemd/systemd_254.4.bb @@ -282,12 +282,12 @@ do_install() { [ ! -e ${D}/${base_sbindir}/udevd ] && ln -s ${rootlibexecdir}/systemd/systemd-udevd ${D}/${base_sbindir}/udevd install -d ${D}${sysconfdir}/udev/rules.d/ - install -d ${D}${sysconfdir}/tmpfiles.d + install -d ${D}${exec_prefix}/lib/tmpfiles.d for rule in $(find ${WORKDIR} -maxdepth 1 -type f -name "*.rules"); do install -m 0644 $rule ${D}${sysconfdir}/udev/rules.d/ done - install -m 0644 ${WORKDIR}/00-create-volatile.conf ${D}${sysconfdir}/tmpfiles.d/ + install -m 0644 ${WORKDIR}/00-create-volatile.conf ${D}${exec_prefix}/lib/tmpfiles.d/ if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then install -d ${D}${sysconfdir}/init.d