]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toaster: improve image file suffix retrieval
authorElliot Smith <elliot.smith@intel.com>
Tue, 12 Jul 2016 22:54:45 +0000 (15:54 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Jul 2016 07:56:45 +0000 (08:56 +0100)
commit9c38de3dec74c122c2060cad37331bdafc6858ec
treed765797b10479acc872a90e80bfc543d9ce52f2b
parentf0085cd554604cfff4a3f40a34825fbb6878004f
toaster: improve image file suffix retrieval

Refactor retrieval of suffix from image file path, making it a
a method on Target_Image_File. This makes it easier to use this
in the build dashboard for individual images, plus reduces the
complexity of the code required to get all of the image file
suffixes for a build.

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: bavery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/toaster/orm/models.py