diff options
author | Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> | 2015-08-15 00:40:27 +0530 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-08-24 13:59:44 +0200 |
commit | 3890af576a609ad8c9b14d5d5420537363fe7a34 (patch) | |
tree | 7d13ada8ae483a509ae8016e1807dad23efd256d /meta-oe/recipes-extended/scsirastools | |
parent | ba0d87692de24a574e69269b9f1c9ad27d91454b (diff) | |
download | meta-openembedded-3890af576a609ad8c9b14d5d5420537363fe7a34.tar.gz |
scsirastools: add new recipe
The scsirastools were designed to add to the Serviceability of disk
devices under Linux so that the system does not have to be rebooted or taken out
of service to perform common maintenance or service functions. Devices handled
by scsirastools include SCSI, Linux software RAID, SAS, SATA, and USB storage
devices (some via SCSI emulation).
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/scsirastools')
-rw-r--r-- | meta-oe/recipes-extended/scsirastools/scsirastools_1.6.4.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.4.bb b/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.4.bb new file mode 100644 index 000000000..8e34104d0 --- /dev/null +++ b/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.4.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | SUMMARY = "Linux SCSi tools to service maintain disk storage devices" | ||
2 | DESCRIPTION = "scsirastools were designed to add to the Serviceability of \ | ||
3 | SCSI devices under Linux so that the system does not have \ | ||
4 | to be rebooted or taken out of service to perform common \ | ||
5 | maintenance or service functions. It handles SCSI, \ | ||
6 | Linux SW RAID, SAS, SATA, and USB devices via SCSI emulation." | ||
7 | HOMEPAGE = "http://scsirastools.sourceforge.net/" | ||
8 | LICENSE = "BSD" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=687ea108478d26152ae46eb29d9d1545" | ||
10 | PR = "r0" | ||
11 | |||
12 | SRC_URI = "http://prdownloads.sourceforge.net/scsirastools/scsirastools-${PV}.tar.gz \ | ||
13 | " | ||
14 | SRC_URI[md5sum] = "2d775111b62e2dfc1960a722f5fda211" | ||
15 | SRC_URI[sha256sum] = "38d2c6c9b04a2c594e528927b950754f94c0522718d17c78e6589ba778339bf8" | ||
16 | |||
17 | inherit autotools autotools_stage update-rc.d | ||
18 | |||
19 | # mdadm Makefile has CC set to gcc, hence override CC to ${CC} | ||
20 | EXTRA_OEMAKE += "CC='${CC}'" | ||
21 | |||
22 | INITSCRIPT_PACKAGES = "${PN}-diskmon ${PN}-raidmon" | ||
23 | INITSCRIPT_NAME_${PN}-diskmon = "sgdisk" | ||
24 | INITSCRIPT_PARAMS_${PN}-diskmon = "defaults 80 20" | ||
25 | INITSCRIPT_NAME_${PN}-raidmon = "sgraid" | ||
26 | INITSCRIPT_PARAMS_${PN}-raidmon = "defaults 80 20" | ||
27 | |||
28 | PACKAGES =+ "${PN}-diskmon ${PN}-diskmon-dbg" | ||
29 | PACKAGES =+ "${PN}-raidmon ${PN}-raidmon-dbg" | ||
30 | |||
31 | FILES_${PN}-dbg += "/usr/share/scsirastools/.debug" | ||
32 | |||
33 | FILES_${PN}-diskmon = "${sbindir}/sgdiskmon ${sysconfdir}/init.d/sgdisk" | ||
34 | FILES_${PN}-diskmon-dbg = "${sbindir}/.debug/sgdiskmon" | ||
35 | |||
36 | FILES_${PN}-raidmon = "${sbindir}/sgraidmon ${sysconfdir}/init.d/sgraid" | ||
37 | FILES_${PN}-raidmon-dbg = "${sbindir}/.debug/sgraidmon" | ||
38 | |||
39 | RDEPENDS_${PN} += "bash" | ||
40 | RDEPENDS_${PN}-diskmon += "${PN}" | ||
41 | RDEPENDS_${PN}-raidmon += "${PN}" | ||