summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/krb5/krb5_1.13.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-connectivity/krb5/krb5_1.13.2.bb')
-rw-r--r--meta-oe/recipes-connectivity/krb5/krb5_1.13.2.bb14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta-oe/recipes-connectivity/krb5/krb5_1.13.2.bb b/meta-oe/recipes-connectivity/krb5/krb5_1.13.2.bb
index 65013b5c9..34c2969d4 100644
--- a/meta-oe/recipes-connectivity/krb5/krb5_1.13.2.bb
+++ b/meta-oe/recipes-connectivity/krb5/krb5_1.13.2.bb
@@ -58,7 +58,7 @@ FILES_${PN}-doc += "${datadir}/examples"
58FILES_${PN}-dbg += "${libdir}/krb5/plugins/*/.debug" 58FILES_${PN}-dbg += "${libdir}/krb5/plugins/*/.debug"
59 59
60# As this recipe doesn't inherit update-rc.d, we need to add this dependency here 60# As this recipe doesn't inherit update-rc.d, we need to add this dependency here
61RDEPENDS_${PN} += "initscripts-functions" 61RDEPENDS_${PN}_class-target += "initscripts-functions"
62 62
63krb5_do_unpack() { 63krb5_do_unpack() {
64 # ${P}-signed.tar contains ${P}.tar.gz.asc and ${P}.tar.gz 64 # ${P}-signed.tar contains ${P}.tar.gz.asc and ${P}.tar.gz
@@ -77,12 +77,12 @@ do_configure() {
77} 77}
78 78
79do_install_append() { 79do_install_append() {
80 mkdir -p ${D}/etc/init.d ${D}/etc/default 80 mkdir -p ${D}/${sysconfdir}/init.d ${D}/${sysconfdir}/default
81 install -m 0755 ${WORKDIR}/etc/init.d/* ${D}/etc/init.d 81 install -m 0755 ${WORKDIR}/etc/init.d/* ${D}/${sysconfdir}/init.d
82 install -m 0644 ${WORKDIR}/etc/default/* ${D}/etc/default 82 install -m 0644 ${WORKDIR}/etc/default/* ${D}/${sysconfdir}/default
83 83
84 rm -rf ${D}/var/run 84 rm -rf ${D}/${localstatedir}/run
85 mkdir -p ${D}/etc/default/volatiles 85 mkdir -p ${D}/${sysconfdir}/default/volatiles
86 echo "d root root 0755 ${localstatedir}/run/krb5kdc none" \ 86 echo "d root root 0755 ${localstatedir}/run/krb5kdc none" \
87 > ${D}${sysconfdir}/default/volatiles/87_krb5 87 > ${D}${sysconfdir}/default/volatiles/87_krb5
88 if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 88 if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
@@ -102,3 +102,5 @@ pkg_postinst_${PN} () {
102 fi 102 fi
103 fi 103 fi
104} 104}
105
106BBCLASSEXTEND = "native nativesdk"