The image_fstypes field in the orm_build table was supposed to store information about a build's output (i.e. the extensions of the rootfs files created during the build, if any). But in its current implementation, the field stores the value of the IMAGE_FSTYPES variable instead. The build output information is provided only via the simple UI, and there is no way to obtain it via the API. To fix this, we should: * Rename the image_fstypes field to 'output' * Make sure that it is populated only if build.outcome == 0 and target.is_image == true * Change the simple interface to display the new 'output' field
The information the image_fstypes field was supposed to provide is stored by file_name in the target table. People can check the values stored in the IMAGE_FSTYPES variable using the configuration information. Therefore we don't need image_fstypes We can use file_name to generate the 'output' information in the simple interface.
I will implement this after we have a patch for 5189, in order to obtain the file_name.
I am removing the image_fstypes field with the addition of Target_Image_File table that will hold generated image files information. Fixtures needs updating.
This field is nor removed in master:f03955041d0e44d377ca1c4def630982f24f1e8b.
Well, the patch is not merged into master, as the status says :)
Database schema merged into origin/master
The image_fstypes field was removed from the build table, so this bug is resolved. The changes needed to replace it is the purpose of bug 5947, so this one can be closed.
Verified in master:e58089b9d708ba176594a758580cc52c23725a5b