On 17 February 2017 at 18:28, Saul Wold <sgw@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