diff options
Diffstat (limited to 'recipes-images/sintecs-virt-image/sintecs-virt-image.bb')
-rw-r--r-- | recipes-images/sintecs-virt-image/sintecs-virt-image.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-images/sintecs-virt-image/sintecs-virt-image.bb b/recipes-images/sintecs-virt-image/sintecs-virt-image.bb new file mode 100644 index 0000000..32a414a --- /dev/null +++ b/recipes-images/sintecs-virt-image/sintecs-virt-image.bb @@ -0,0 +1,41 @@ +SUMMARY = "Sintecs base image for virtualization" +DESCRIPTION = "This image is meant to be used as a starting point for custom virtualization images" +LICENSE = "GPLV2" + +LIC_FILES_CHKSUM = "" + + +require recipes-fsl/images/fsl-image-virt.bb + + +#Generate ubi/ubifs images +IMAGE_FSTYPES += "ubi ubifs" + +#Insert the fitimage into the rootfs images +ROOTFS_POSTPROCESS_COMMAND += "rootfs_insert_fitimage;" + +# TODO use better copy directory notation +rootfs_insert_fitimage() { + mkdir -p ${IMAGE_ROOTFS}/boot + cp -R ${IMAGE_ROOTFS}/../../../fsl-image-core/1.0-r0/rootfs/boot/* ${IMAGE_ROOTFS}/boot/ +} + +IMAGE_INSTALL += "\ + \ + kernel-devicetree \ + kernel-modules \ + \ + packagegroup-core-full-cmdline \ + \ + openssh \ + \ + tmux \ + \ + i2c-tools \ + nano \ + vim \ + \ + mtd-utils \ + mtd-utils-ubifs \ + \ +" |