[OE-core] [PATCH 3/9] systemd: remove hard-coded paths in FILES entries
Joshua Lock
joshua.lock at collabora.co.uk
Fri Sep 4 11:07:15 UTC 2015
On Thu, 2015-09-03 at 12:10 -0500, Mark Hatle wrote:
> On 9/3/15 10:12 AM, Richard Purdie wrote:
> > On Thu, 2015-09-03 at 15:58 +0100, Joshua Lock wrote:
> > > Signed-off-by: Joshua Lock <joshua.lock at collabora.co.uk>
> > > ---
> > > meta/recipes-core/systemd/systemd_219.bb | 10 +++++-----
> > > 1 file changed, 5 insertions(+), 5 deletions(-)
> > >
> > > diff --git a/meta/recipes-core/systemd/systemd_219.bb
> > > b/meta/recipes-core/systemd/systemd_219.bb
> > > index 4d32fd5..fbd86e8 100644
> > > --- a/meta/recipes-core/systemd/systemd_219.bb
> > > +++ b/meta/recipes-core/systemd/systemd_219.bb
> > > @@ -306,10 +306,10 @@ FILES_${PN} = " ${base_bindir}/* \
> > > ${exec_prefix}/lib/sysctl.d \
> > > ${exec_prefix}/lib/sysusers.d \
> > > ${localstatedir} \
> > > - /lib/udev/rules.d/70-uaccess.rules \
> > > - /lib/udev/rules.d/71-seat.rules \
> > > - /lib/udev/rules.d/73-seat-late.rules \
> > > - /lib/udev/rules.d/99-systemd.rules \
> > > + ${base_libdir}/udev/rules.d/70-uaccess.rules \
> > > + ${base_libdir}/udev/rules.d/71-seat.rules \
> > > + ${base_libdir}/udev/rules.d/73-seat-late.rules \
> > > + ${base_libdir}/udev/rules.d/99-systemd.rules \
> > > "
> > >
> > > FILES_${PN}-dbg += "${rootlibdir}/.debug
> > > ${systemd_unitdir}/.debug ${systemd_unitdir}/*/.debug
> > > ${base_libdir}/security/.debug/"
> > > @@ -327,7 +327,7 @@ RRECOMMENDS_${PN} += "systemd-serialgetty
> > > systemd-vconsole-setup \
> > >
> > > PACKAGES =+ "udev-dbg udev udev-hwdb"
> > >
> > > -FILES_udev-dbg += "/lib/udev/.debug"
> > > +FILES_udev-dbg += "${base_libdir}/udev/.debug"
> >
> > From what I remember, this is intentional and this change likely
> > breaks
> > multilib. You don't want two sets of rules on a multilib system.
>
> Correct.. it has to go into /lib or if everything is move to /usr,
> then /usr/lib.
I've prepared a v2 that changes this to nonarch_base_libdir but
systemd+multilib appears to be broken, see:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=8256
Regards,
Joshua
More information about the Openembedded-core
mailing list