summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/smartmontools/smartmontools_6.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/smartmontools/smartmontools_6.4.bb')
-rw-r--r--meta-oe/recipes-extended/smartmontools/smartmontools_6.4.bb38
1 files changed, 19 insertions, 19 deletions
diff --git a/meta-oe/recipes-extended/smartmontools/smartmontools_6.4.bb b/meta-oe/recipes-extended/smartmontools/smartmontools_6.4.bb
index 86e6d9ee6..fce50e5bd 100644
--- a/meta-oe/recipes-extended/smartmontools/smartmontools_6.4.bb
+++ b/meta-oe/recipes-extended/smartmontools/smartmontools_6.4.bb
@@ -13,14 +13,14 @@ LICENSE = "GPLv2"
13LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 13LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
14 14
15SRC_URI = "${SOURCEFORGE_MIRROR}/smartmontools/smartmontools-${PV}.tar.gz \ 15SRC_URI = "${SOURCEFORGE_MIRROR}/smartmontools/smartmontools-${PV}.tar.gz \
16 file://initd.smartd \ 16 file://initd.smartd \
17 file://smartmontools.default \ 17 file://smartmontools.default \
18 file://smartd.service \ 18 file://smartd.service \
19 " 19"
20 20
21PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'libcap-ng', 'libcap-ng', '', d)} \ 21PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'libcap-ng', 'libcap-ng', '', d)} \
22 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ 22 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
23 " 23"
24PACKAGECONFIG[libcap-ng] = "--with-libcap-ng=yes,--with-libcap-ng=no,libcap-ng" 24PACKAGECONFIG[libcap-ng] = "--with-libcap-ng=yes,--with-libcap-ng=no,libcap-ng"
25PACKAGECONFIG[selinux] = "--with-selinux=yes,--with-selinux=no,libselinux" 25PACKAGECONFIG[selinux] = "--with-selinux=yes,--with-selinux=no,libselinux"
26 26
@@ -33,19 +33,19 @@ SYSTEMD_SERVICE_${PN} = "smartd.service"
33SYSTEMD_AUTO_ENABLE = "disable" 33SYSTEMD_AUTO_ENABLE = "disable"
34 34
35do_install_append () { 35do_install_append () {
36 #install the init.d/smartd 36 #install the init.d/smartd
37 install -d ${D}${sysconfdir}/init.d 37 install -d ${D}${sysconfdir}/init.d
38 install -p -m 0755 ${WORKDIR}/initd.smartd ${D}${sysconfdir}/init.d/smartd 38 install -p -m 0755 ${WORKDIR}/initd.smartd ${D}${sysconfdir}/init.d/smartd
39 install -d ${D}${sysconfdir}/default 39 install -d ${D}${sysconfdir}/default
40 install -p -m 0644 ${WORKDIR}/smartmontools.default ${D}${sysconfdir}/default/smartmontools 40 install -p -m 0644 ${WORKDIR}/smartmontools.default ${D}${sysconfdir}/default/smartmontools
41 41
42 #install systemd service file 42 #install systemd service file
43 install -d ${D}${systemd_unitdir}/system 43 install -d ${D}${systemd_unitdir}/system
44 install -m 0644 ${WORKDIR}/smartd.service ${D}${systemd_unitdir}/system 44 install -m 0644 ${WORKDIR}/smartd.service ${D}${systemd_unitdir}/system
45 sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ 45 sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \
46 -e 's,@SYSCONFDIR@,${sysconfdir},g' \ 46 -e 's,@SYSCONFDIR@,${sysconfdir},g' \
47 -e 's,@SBINDIR@,${sbindir},g' \ 47 -e 's,@SBINDIR@,${sbindir},g' \
48 ${D}${systemd_unitdir}/system/smartd.service 48 ${D}${systemd_unitdir}/system/smartd.service
49} 49}
50 50
51INITSCRIPT_NAME = "smartd" 51INITSCRIPT_NAME = "smartd"