[OE-core] [PATCH] apt-package: use ${libdir} instead of /usr/lib

Saul Wold sgw at linux.intel.com
Mon Feb 20 07:21:05 UTC 2017


On Fri, 2017-02-17 at 20:40 +0000, Burton, Ross wrote:
> 
> On 17 February 2017 at 18:28, Saul Wold <sgw at linux.intel.com> wrote:
> > -       install -m 0644 ${S}/debian/apt.systemd.daily
> > ${D}/usr/lib/apt/
> > +       install -m 0644 ${S}/debian/apt.systemd.daily
> > ${D}${libdir}/apt/
> >         install -m 0644 ${S}/debian/apt-daily.service
> > ${D}${systemd_unitdir}/system/
> >         install -m 0644 ${S}/debian/apt-daily.timer
> > ${D}${systemd_unitdir}/system/
> > 
> 
> The apt-daily.service unit is what fires the apt.systemd.daily
> script:
> 
> $ cat debian/apt-daily.service
> ...
> ExecStart=/usr/lib/apt/apt.systemd.daily
> 
> If you're going to change the install location of the script then the
> unit needs to be fixed.
> 
Hmm, since this is a script would it make more sense to have this
install create the "usr/lib" directory?  I am wondering is this will
bullocks up a single root solution or a different non-standard libdir?

Sau!

> Ross



More information about the Openembedded-core mailing list