The script needs to be executable so the service doesn't
fail.

Signed-off-by: Matt Madison <matt@madison.systems>
---
 meta/recipes-devtools/apt/apt-package.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/apt/apt-package.inc 
b/meta/recipes-devtools/apt/apt-package.inc
index 6a01f99c63..da91451d7f 100644
--- a/meta/recipes-devtools/apt/apt-package.inc
+++ b/meta/recipes-devtools/apt/apt-package.inc
@@ -83,7 +83,7 @@ do_install () {
        install -m 0644 include/apt-pkg/*.h ${D}${includedir}/apt-pkg/
 
        install -d ${D}${systemd_unitdir}/system/
-       install -m 0644 ${S}/debian/apt.systemd.daily ${D}${libdir}/apt/
+       install -m 0755 ${S}/debian/apt.systemd.daily ${D}${libdir}/apt/
        install -m 0644 ${S}/debian/apt-daily.service 
${D}${systemd_unitdir}/system/
        sed -i 's#/usr/lib/apt/#${libdir}/apt/#g' 
${D}${systemd_unitdir}/system/apt-daily.service
        install -m 0644 ${S}/debian/apt-daily.timer 
${D}${systemd_unitdir}/system/
-- 
2.20.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to