diff options
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/rarpd/rarpd_ss981107.bb | 8 | ||||
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb | 8 |
2 files changed, 6 insertions, 10 deletions
diff --git a/meta-oe/recipes-extended/rarpd/rarpd_ss981107.bb b/meta-oe/recipes-extended/rarpd/rarpd_ss981107.bb index 4025b8087..7c9f2df9d 100644 --- a/meta-oe/recipes-extended/rarpd/rarpd_ss981107.bb +++ b/meta-oe/recipes-extended/rarpd/rarpd_ss981107.bb | |||
@@ -38,13 +38,11 @@ do_install() { | |||
38 | install -m 644 rarpd.8 ${D}${mandir}/man8/rarpd.8 | 38 | install -m 644 rarpd.8 ${D}${mandir}/man8/rarpd.8 |
39 | install -m 644 ${WORKDIR}/ethers.sample ${D}${sysconfdir}/ethers | 39 | install -m 644 ${WORKDIR}/ethers.sample ${D}${sysconfdir}/ethers |
40 | 40 | ||
41 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 41 | install -d ${D}${systemd_unitdir}/system |
42 | install -d ${D}${systemd_unitdir}/system | 42 | install -m 0644 ${WORKDIR}/rarpd.service ${D}${systemd_unitdir}/system/ |
43 | install -m 0644 ${WORKDIR}/rarpd.service ${D}${systemd_unitdir}/system/ | ||
44 | fi | ||
45 | } | 43 | } |
46 | 44 | ||
47 | inherit ${@bb.utils.filter('VIRTUAL-RUNTIME_init_manager', 'systemd', d)} | 45 | inherit systemd |
48 | 46 | ||
49 | SYSTEMD_PACKAGES = "${PN}" | 47 | SYSTEMD_PACKAGES = "${PN}" |
50 | SYSTEMD_SERVICE_${PN} = "rarpd.service" | 48 | SYSTEMD_SERVICE_${PN} = "rarpd.service" |
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb index c6b9f1019..3db8c1484 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb | |||
@@ -28,7 +28,7 @@ SRC_URI[md5sum] = "28021cdabc73690a94f4f9d57254ce30" | |||
28 | SRC_URI[sha256sum] = "634a67b2f7ac3b386a79160eb44413d618e33e4e7fc74ae68b0240484af149dd" | 28 | SRC_URI[sha256sum] = "634a67b2f7ac3b386a79160eb44413d618e33e4e7fc74ae68b0240484af149dd" |
29 | 29 | ||
30 | inherit autotools | 30 | inherit autotools |
31 | inherit ${@bb.utils.filter('VIRTUAL-RUNTIME_init_manager', 'systemd', d)} | 31 | inherit systemd |
32 | 32 | ||
33 | SYSTEMD_PACKAGES = "${PN}" | 33 | SYSTEMD_PACKAGES = "${PN}" |
34 | SYSTEMD_SERVICE_${PN} = "sblim-sfcb.service" | 34 | SYSTEMD_SERVICE_${PN} = "sblim-sfcb.service" |
@@ -53,10 +53,8 @@ do_install() { | |||
53 | 53 | ||
54 | oe_runmake DESTDIR=${D} install | 54 | oe_runmake DESTDIR=${D} install |
55 | 55 | ||
56 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 56 | install -d ${D}${systemd_unitdir}/system |
57 | install -d ${D}${systemd_unitdir}/system | 57 | install -m 0644 ${WORKDIR}/sfcb.service ${D}${systemd_unitdir}/system/sblim-sfcb.service |
58 | install -m 0644 ${WORKDIR}/sfcb.service ${D}${systemd_unitdir}/system/sblim-sfcb.service | ||
59 | fi | ||
60 | 58 | ||
61 | install -d ${D}${sysconfdir}/init.d | 59 | install -d ${D}${sysconfdir}/init.d |
62 | mv ${D}${sysconfdir}/init.d/sfcb ${D}${sysconfdir}/init.d/sblim-sfcb | 60 | mv ${D}${sysconfdir}/init.d/sfcb ${D}${sysconfdir}/init.d/sblim-sfcb |