summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic
Commit message (Collapse)AuthorAgeFilesLines
* wic:plugins:otaimage.py: fix a potential issueMing Liu2019-02-121-6/+18
| | | | | | | | | | | | | | | | do_image_wic task is a standalone task that depending on do_image_ota_ext4, so it's possible that do_image_wic runs (taskhash contaminated) but do_image_ota_ext4 does not (taskhash not contaminated), in which case, the otaimage would be in DEPLOY_DIR_IMAGE instead of in IMGDEPLOYDIR, so we need check both of them. Also, the logger.error is not supposed to raise a error, it just prints out a error message, so we should use WicError. And another typo is it checks IMGDEPLOYDIR but reports DEPLOY_DIR_IMAGE not exist, also fix that. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* image_types_ota: use IMGDEPLOYDIR for ota-ext4 imagesStefan Agner2018-10-181-2/+2
| | | | | | | | | | | Do not write directly to the IMAGE_DEPLOY_DIR but to the new deploy directory IMGDEPLOYDIR. Also change the image ending to match the image type name (from otaimg to ota-ext4). This allows to use the automatic symlinking and output artefact management too. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
* sdimage-sota.wks: remove label as it gets set by image_types_otaRicardo Salveti2018-03-081-1/+1
| | | | | | | image_types_ota already defines the rootfs label when creating the ota image, so drop label overwrite when creating the sdcard partition. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* Add fixes for compatibility with RockoAnton Gerasimov2017-11-171-1/+1
|
* Fix incompatibilities with latest pyro, use wic on RPiAnton Gerasimov2017-11-071-22/+10
|
* otaimage.py: Arrage script for pyroChanghyeok Bae2017-06-131-5/+6
| | | | | | | 1. msger is replaced to logging module in yocto upstream (pyro branch). 2. move oe/misc.py one level up in yocto upstream (pyro branch). Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
* Add configuration for grub-efi on MinnowboardAnton Gerasimov2017-04-112-0/+10
|
* Add tweaks for compatibility with AGLAnton Gerasimov2017-04-111-3/+2
|
* Fix small bugs, fix WIC for minnowboardAnton Gerasimov2017-04-071-0/+0
|
* Replace sdcard_image* classes with wicAnton Gerasimov2017-04-032-0/+76