diff options
author | Elliot Smith <elliot.smith@intel.com> | 2015-12-18 11:55:25 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-18 13:52:00 +0000 |
commit | 6e3eefb997063971801bea933f319bb428b33fa5 (patch) | |
tree | 9d27aebef3a0d686c401e772024e18e431a1e4b3 /meta | |
parent | aff2257e0b1153814aefc96737e00bdb4cf634e0 (diff) | |
download | poky-6e3eefb997063971801bea933f319bb428b33fa5.tar.gz |
bitbake: toaster: Rework mimetype guessing to fix artifact downloads
Artifact download links were broken because the function to
get the mimetype for the artifact was incorrectly using the
underlying mimetype library. The function was also attached
to the build environment controller, which was unnecessary, as
we only support local controllers anyway.
Remove the mimetype getter on the build environment and
use the one in the view code instead. This prevents the download error
from occurring.
(Backport of dd957fe0f261db6481882fee0413f459425000c2 and
dd957fe0f261db6481882fee0413f459425000c2 from master to Yocto 1.8)
[YOCTO #8472]
(Bitbake rev: b09966906ef054834f0b465f0c5a2a937b4c4a4c)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions