summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt-package.inc
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-19 12:46:44 +0100
commit2cc0c08f80cff87cc541008ce2309c357752bea7 (patch)
treea94ab3048002dfef5c39e510e0644978e65e1325 /meta/recipes-devtools/apt/apt-package.inc
parentd059cbcf18cc8b6a245132d08b62dec54feb9dcc (diff)
downloadpoky-2cc0c08f80cff87cc541008ce2309c357752bea7.tar.gz
apt: fix permissions on apt-daily script for systemd
The script needs to be executable so the service doesn't fail. (From OE-Core rev: 1b93bc3857b352394abd652ef83f1081298b7a5b) Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/apt/apt-package.inc')
-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 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 () {
83 install -m 0644 include/apt-pkg/*.h ${D}${includedir}/apt-pkg/ 83 install -m 0644 include/apt-pkg/*.h ${D}${includedir}/apt-pkg/
84 84
85 install -d ${D}${systemd_unitdir}/system/ 85 install -d ${D}${systemd_unitdir}/system/
86 install -m 0644 ${S}/debian/apt.systemd.daily ${D}${libdir}/apt/ 86 install -m 0755 ${S}/debian/apt.systemd.daily ${D}${libdir}/apt/
87 install -m 0644 ${S}/debian/apt-daily.service ${D}${systemd_unitdir}/system/ 87 install -m 0644 ${S}/debian/apt-daily.service ${D}${systemd_unitdir}/system/
88 sed -i 's#/usr/lib/apt/#${libdir}/apt/#g' ${D}${systemd_unitdir}/system/apt-daily.service 88 sed -i 's#/usr/lib/apt/#${libdir}/apt/#g' ${D}${systemd_unitdir}/system/apt-daily.service
89 install -m 0644 ${S}/debian/apt-daily.timer ${D}${systemd_unitdir}/system/ 89 install -m 0644 ${S}/debian/apt-daily.timer ${D}${systemd_unitdir}/system/