summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg-utils/opkg-utils/add-license-field.patch
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2012-08-28 08:41:39 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-28 16:53:07 +0100
commita259fdb296a43b89028edb342ca9967a1b50ab5d (patch)
tree7c18709e9952ae2561f0efb3fbbd86483d09363a /meta/recipes-devtools/opkg-utils/opkg-utils/add-license-field.patch
parent55997cbf3d4778083dd1073f415fc4396d86f0a0 (diff)
downloadpoky-a259fdb296a43b89028edb342ca9967a1b50ab5d.tar.gz
opkg-utils: bump SRCREV for Packages cache fix and other fixes
(From OE-Core rev: ce5b46980f35097bd5fcc8195c5d5be1b980c870) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg-utils/opkg-utils/add-license-field.patch')
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils/add-license-field.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils/add-license-field.patch b/meta/recipes-devtools/opkg-utils/opkg-utils/add-license-field.patch
deleted file mode 100644
index 0d3345972f..0000000000
--- a/meta/recipes-devtools/opkg-utils/opkg-utils/add-license-field.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1Add knowledge about License field in ipk headers
2
3Upstream-Status: Pending
4
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6
7Index: opkg-utils/opkg.py
8===================================================================
9--- opkg-utils.orig/opkg.py 2010-11-01 04:52:35.000000000 -0700
10+++ opkg-utils/opkg.py 2011-07-13 15:18:03.900037344 -0700
11@@ -145,6 +145,7 @@
12 self.priority = None
13 self.tags = None
14 self.fn = fn
15+ self.license = None
16
17 if fn:
18 # see if it is deb format
19@@ -319,6 +320,12 @@
20 def get_section(self, section):
21 return self.section
22
23+ def set_license(self, license):
24+ self.license = license
25+
26+ def get_license(self, license):
27+ return self.license
28+
29 def get_file_list(self):
30 if not self.fn:
31 return []
32@@ -425,6 +432,7 @@
33 if self.description: out = out + "Description: %s\n" % (self.description)
34 if self.oe: out = out + "OE: %s\n" % (self.oe)
35 if self.homepage: out = out + "HomePage: %s\n" % (self.homepage)
36+ if self.license: out = out + "License: %s\n" % (self.license)
37 if self.priority: out = out + "Priority: %s\n" % (self.priority)
38 if self.tags: out = out + "Tags: %s\n" % (self.tags)
39 out = out + "\n"