diff options
Diffstat (limited to 'meta-oe/recipes-extended/smartmontools/smartmontools_6.2.bb')
| -rw-r--r-- | meta-oe/recipes-extended/smartmontools/smartmontools_6.2.bb | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/meta-oe/recipes-extended/smartmontools/smartmontools_6.2.bb b/meta-oe/recipes-extended/smartmontools/smartmontools_6.2.bb index 83ff028845..66fdb4d8d8 100644 --- a/meta-oe/recipes-extended/smartmontools/smartmontools_6.2.bb +++ b/meta-oe/recipes-extended/smartmontools/smartmontools_6.2.bb | |||
| @@ -12,10 +12,20 @@ SECTION = "console/utils" | |||
| 12 | LICENSE = "GPLv2" | 12 | LICENSE = "GPLv2" |
| 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 14 | 14 | ||
| 15 | SRC_URI = "${SOURCEFORGE_MIRROR}/smartmontools/smartmontools-${PV}.tar.gz" | 15 | SRC_URI = "${SOURCEFORGE_MIRROR}/smartmontools/smartmontools-${PV}.tar.gz \ |
| 16 | file://initd.smartd \ | ||
| 17 | " | ||
| 16 | 18 | ||
| 17 | SRC_URI[md5sum] = "d44f84081a12cef79cd17f78044351fc" | 19 | SRC_URI[md5sum] = "d44f84081a12cef79cd17f78044351fc" |
| 18 | SRC_URI[sha256sum] = "486f660579bb0fb4f6b927ded7531cb1f99685c666397377761c5b04dd96065b" | 20 | SRC_URI[sha256sum] = "486f660579bb0fb4f6b927ded7531cb1f99685c666397377761c5b04dd96065b" |
| 19 | 21 | ||
| 20 | inherit autotools | 22 | inherit autotools update-rc.d |
| 21 | 23 | ||
| 24 | do_install_append () { | ||
| 25 | #install the init.d/smartd | ||
| 26 | install -d ${D}${sysconfdir}/init.d | ||
| 27 | install -p -m 0755 ${WORKDIR}/initd.smartd ${D}${sysconfdir}/init.d/smartd | ||
| 28 | } | ||
| 29 | |||
| 30 | INITSCRIPT_NAME = "smartd" | ||
| 31 | INITSCRIPT_PARAMS = "start 60 . stop 60 0 1 2 3 4 5 6 ." | ||
