aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Madison <matt@madison.systems>2019-06-18 04:37:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-18 15:55:59 +0100
commit1b93bc3857b352394abd652ef83f1081298b7a5b (patch)
tree3708688268cc0ea624ea1d36b0edcf005a9690c1
parent8d93fc236a72cb1bb0e713c4fc5b73e65ede6f53 (diff)
downloadopenembedded-core-contrib-1b93bc3857b352394abd652ef83f1081298b7a5b.tar.gz
openembedded-core-contrib-1b93bc3857b352394abd652ef83f1081298b7a5b.tar.bz2
openembedded-core-contrib-1b93bc3857b352394abd652ef83f1081298b7a5b.zip
apt: fix permissions on apt-daily script for systemd
The script needs to be executable so the service doesn't fail. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/apt/apt-package.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/apt/apt-package.inc b/meta/recipes-devtools/apt/apt-package.inc
index 6a01f99c63f..da91451d7f6 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/