summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/at/at/atd.init (renamed from meta/recipes-extended/at/at/S99at)0
-rw-r--r--meta/recipes-extended/at/at_3.1.15.bb11
2 files changed, 6 insertions, 5 deletions
diff --git a/meta/recipes-extended/at/at/S99at b/meta/recipes-extended/at/at/atd.init
index eca379b3cd..eca379b3cd 100644
--- a/meta/recipes-extended/at/at/S99at
+++ b/meta/recipes-extended/at/at/atd.init
diff --git a/meta/recipes-extended/at/at_3.1.15.bb b/meta/recipes-extended/at/at_3.1.15.bb
index 1080df44c5..0c37d6d912 100644
--- a/meta/recipes-extended/at/at_3.1.15.bb
+++ b/meta/recipes-extended/at/at_3.1.15.bb
@@ -20,7 +20,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \
20 file://posixtm.c \ 20 file://posixtm.c \
21 file://posixtm.h \ 21 file://posixtm.h \
22 file://file_replacement_with_gplv2.patch \ 22 file://file_replacement_with_gplv2.patch \
23 file://S99at \ 23 file://atd.init \
24 file://atd.service \ 24 file://atd.service \
25 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" 25 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}"
26 26
@@ -37,7 +37,10 @@ EXTRA_OECONF += "ac_cv_path_SENDMAIL=/bin/true \
37 --with-atspool=/var/spool/at/spool \ 37 --with-atspool=/var/spool/at/spool \
38 ac_cv_header_security_pam_appl_h=${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'yes', 'no', d)} " 38 ac_cv_header_security_pam_appl_h=${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'yes', 'no', d)} "
39 39
40inherit autotools-brokensep systemd 40inherit autotools-brokensep systemd update-rc.d
41
42INITSCRIPT_NAME = "atd"
43INITSCRIPT_PARAMS = "defaults"
41 44
42SYSTEMD_SERVICE_${PN} = "atd.service" 45SYSTEMD_SERVICE_${PN} = "atd.service"
43 46
@@ -51,9 +54,7 @@ do_install () {
51 oe_runmake -e "IROOT=${D}" install 54 oe_runmake -e "IROOT=${D}" install
52 55
53 install -d ${D}${sysconfdir}/init.d 56 install -d ${D}${sysconfdir}/init.d
54 install -d ${D}${sysconfdir}/rcS.d 57 install -m 0755 ${WORKDIR}/atd.init ${D}${sysconfdir}/init.d/atd
55 install -m 0755 ${WORKDIR}/S99at ${D}${sysconfdir}/init.d/atd
56 ln -sf ../init.d/atd ${D}${sysconfdir}/rcS.d/S99at
57 58
58 # install systemd unit files 59 # install systemd unit files
59 install -d ${D}${systemd_unitdir}/system 60 install -d ${D}${systemd_unitdir}/system