[oe-commits] Frans Meulenbroeks : hdparm: updated to 9.35

git version control git at git.openembedded.org
Tue Oct 26 12:15:05 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 4d2cb79dcecd056742f411a328f9f1f1113bf689
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4d2cb79dcecd056742f411a328f9f1f1113bf689

Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date:   Tue Oct 26 14:05:34 2010 +0200

hdparm: updated to 9.35

also added a separate package for the wiper script (previously unpackaged)
rationale for making it an additional package is because the script
depends on gawk and bash etc.

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

---

 recipes/hdparm/{hdparm_9.15.bb => hdparm_9.35.bb} |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/recipes/hdparm/hdparm_9.15.bb b/recipes/hdparm/hdparm_9.35.bb
similarity index 59%
rename from recipes/hdparm/hdparm_9.15.bb
rename to recipes/hdparm/hdparm_9.35.bb
index e938858..8b9bbd7 100644
--- a/recipes/hdparm/hdparm_9.15.bb
+++ b/recipes/hdparm/hdparm_9.35.bb
@@ -4,12 +4,22 @@ SECTION = "console/utils"
 PRIORITY = "optional"
 LICENSE = "BSD"
 
+PACKAGES += "wiper"
+
+FILES_wiper = "${bindir}/wiper.sh"
+FILES_${PN} = "${base_sbindir} ${mandir}"
+
+RDEPENDS_wiper = "bash gawk stat"
+
 SRC_URI = "${SOURCEFORGE_MIRROR}/hdparm/hdparm-${PV}.tar.gz "
+SRC_URI[md5sum] = "520996cc36b69212c3907df351296702"
+SRC_URI[sha256sum] = "b778e5f42d918226892417986dc135e783e7a1b7b3986a4b1f637bcf51366f5f"
 
 do_install () {
-	install -d ${D}/${base_sbindir} ${D}/${mandir}/man8
+	install -d ${D}/${base_sbindir} ${D}/${mandir}/man8 ${D}/${bindir}
 	oe_runmake 'DESTDIR=${D}' 'sbindir=${base_sbindir}' install
 	mv ${D}${base_sbindir}/hdparm ${D}${base_sbindir}/hdparm.${PN}
+	cp ${S}/wiper/wiper.sh ${D}/${bindir}
 }
 
 pkg_postinst_${PN} () {
@@ -19,6 +29,3 @@ pkg_postinst_${PN} () {
 pkg_prerm_${PN} () {
 	update-alternatives --remove hdparm hdparm.${PN}
 }
-
-SRC_URI[md5sum] = "0524dd10ad986285ff4eeb3507f7471c"
-SRC_URI[sha256sum] = "689a413119c4d670ed95b9ac24511655c4805db678ad93866ab1036a0ba4d6bf"





More information about the Openembedded-commits mailing list