Add licenses - (Alongside sdcard.img, rather than inside it)
Add licenses so that elements can be easily cached
We should also have licences that go in the final disk image so that the final elements .img can be easily shared.
---Details:
Currently: We have one licence introduced in bsp/raspi/firmware.bst (the file LICENCE.broadcom
). The licence is included in the build artifact and therefore ends up included in sdcard.img, (as part of the output of deploy/image.bst). There may be more licenses introduced in a similar way in the future.
Goal: We want to pull out a copy of the licence file, and include it alongside sdcard.img. ie the build artifact of image.bst should contain sdcard.img, and separately it should also contain a copy of the licence, uncompressed, outside of the image file. We probably also want to remove the copy of the licence from inside the image.
Also: We want a solution that makes it easy to add further licences and have them be automatically extracted in the same way.