summaryrefslogtreecommitdiffstats
path: root/classes/image_dd.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* Split meta-boot2qt layerSamuli Piippo2018-03-121-87/+0
| | | | | | | | | | | Move distro specific recipes to own layer and leave only new recipes and bbclasses to meta-boot2qt layer. This makes it easier to include meta-boot2qt to your own distro layer to get access e.g., QDB and QBSP recipes that might be useful even without boot2qt distro. Task-number: QTBUG-65871 Change-Id: I6c353774dd1668b00f2d05aa262ad866b90bdef6 Reviewed-by: Timo Aarnipuro <timo.aarnipuro@qt.io>
* image_dd: remove old boot.img before trying to create itSamuli Piippo2017-05-101-0/+1
| | | | | | | rootfs creation failed if boot.img still existed from previous build. Change-Id: Ib85cc7dbacbc0d0cc7d0700985ad9c52a6ade0df Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Update image creation recipes, appends etc. to be poky 2.2 compliantMikko Gronoff2017-03-141-4/+4
| | | | | | | | DEPLOY_DIR_IMAGE macro has been replaced with IMGDEPLOYDIR in poky 2.2. Update all instances to make image creation work. Change-Id: I3740730ded84650d3a3a51b85c77ed4fef863a8a Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Initial morty branch setup for poky & meta layersMikko Gronoff2017-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | New or updated branches: * meta-fsl-arm & meta-fsl-arm-extra layers changes to meta-freescale & meta-freescale-3rdparty (morty) * poky (morty) * meta-openembedded (morty) * meta-qt5 (5.9) * meta-mingw (morty) * meta-tegra (morty) Modified accordingly: * conf/.sample files * classes/image_dd.class * conf/distro .inc files * scripts/manifest.xml Change-Id: Ia8ad563f2f1176882019490f274a6b4bb043475f Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Update license headersSamuli Piippo2016-05-181-7/+15
| | | | | | | License changed to GPLv3 + Commercial Change-Id: I267c97216e717ed29071df064337e1bcf83de973 Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
* NUC: Use custom image layoutGatis Paeglis2016-02-231-0/+78
This patch adds a new image class 'image_dd', by default it has an empty boot partition. image_dd_efi extends this class to support Intel NUC board. The layout of a generated image is a prerequisite for OSTree integarion. Image generated by 'hddimg' produces rootfs.img (ext3 filesystem file) and then "live" boots it from initramfs by mounting rootfs.img via loop device. For OTA integration we need to access contents of rootfs.img already from boot loader. The custom 'image_nuc_efi' layout allow for fully atomic updates on EFI based system, by keeping GRUB-EFI binary on a dedicated EFI system partition (ESP). OSTree currently is not fully atomic on EFI systems, but with this setup we use GRUB-BIOS code path in OSTree, which is atomic. After EFI firmware has loaded the GRUB-EFI binary, everything else is done on rootfs parition. One limitation from the above scenario is that you would need to update /EFI/BOOT/bootx64.efi (GRUB-EFI) binary manually. Not sure how common it is to update a boot loader binary on a deployed system, but its not impossible. Change-Id: Ibf2840aecd548000372131c4ded5cffa11ff1b0f Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>