summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm/models.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2014-01-17 17:58:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-27 21:01:07 +0000
commite5b3918bb9b334ad077213e8ea039789da440ee2 (patch)
treeafec7eea7f6fd9cf855203df030d041778cf8e4e /bitbake/lib/toaster/orm/models.py
parent9677275d0de94108689db300ca4637a2774ab2e3 (diff)
downloadpoky-e5b3918bb9b334ad077213e8ea039789da440ee2.tar.gz
bitbake: toaster: fix package data gathering
Under OE-Core, the name under which a package would be installed in a target may have been different than the name under it has been built or recorded in the dependencies listings. This patch addresses the way that Toaster records package names, and adds the field of "installed_name" to save the name under which a package have been installed in an image. (Bitbake rev: 24e0367429b248108b104ab5a2af05efcf7a8c39) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm/models.py')
-rw-r--r--bitbake/lib/toaster/orm/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 81dae48e10..3abee016c4 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -148,6 +148,7 @@ class Package(models.Model):
148 build = models.ForeignKey('Build') 148 build = models.ForeignKey('Build')
149 recipe = models.ForeignKey('Recipe', null=True) 149 recipe = models.ForeignKey('Recipe', null=True)
150 name = models.CharField(max_length=100) 150 name = models.CharField(max_length=100)
151 installed_name = models.CharField(max_length=100, default='')
151 version = models.CharField(max_length=100, blank=True) 152 version = models.CharField(max_length=100, blank=True)
152 revision = models.CharField(max_length=32, blank=True) 153 revision = models.CharField(max_length=32, blank=True)
153 summary = models.CharField(max_length=200, blank=True) 154 summary = models.CharField(max_length=200, blank=True)