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

Burton, Ross ross.burton at intel.com
Fri Feb 17 20:40:34 UTC 2017


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.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170217/3b884c80/attachment-0002.html>


More information about the Openembedded-core mailing list