]> code.ossystems Code Review - openembedded-core.git/commitdiff
hdparm: set LICENSE correctly
authorRoss Burton <ross.burton@intel.com>
Fri, 5 Aug 2016 15:15:41 +0000 (16:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Aug 2016 21:54:44 +0000 (22:54 +0100)
LICENSE is recipe-wide so should be BSD & GPLv2, and then override LICENSE_${PN}
to just BSD as LICENSE_wiper is GPLv2.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/hdparm/hdparm_9.48.bb

index ec3d26f4209de8e319365767d547de5b515fb22d..cd85776cf8f50cf3aa153799685a17f8e0a70921 100644 (file)
@@ -2,8 +2,12 @@ SUMMARY = "Utility for viewing/manipulating IDE disk drive/driver parameters"
 DESCRIPTION = "hdparm is a Linux shell utility for viewing \
 and manipulating various IDE drive and driver parameters."
 SECTION = "console/utils"
-LICENSE = "BSD"
+
+LICENSE = "BSD & GPLv2"
+LICENSE_${PN} = "BSD"
+LICENSE_${PN}-dbg = "BSD"
 LICENSE_wiper = "GPLv2"
+
 LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=910a8a42c962d238619c75fdb78bdb24 \
                     file://debian/copyright;md5=a82d7ba3ade9e8ec902749db98c592f3 \
                     file://wiper/GPLv2.txt;md5=fcb02dc552a041dee27e4b85c7396067 \