summaryrefslogtreecommitdiff
path: root/recipes-images/sintecs-base-image/sintecs-base-image.bb
blob: f7da302a9b7935b312c2a7d306f5d5bf28d1099d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SUMMARY = "Generic sintecs base image"
DESCRIPTION = "This image is meant to be used as a starting point for custom images"
LICENSE = "GPLV2"

LIC_FILES_CHKSUM = ""

require recipes-fsl/images/fsl-image-minimal.bb

IMAGE_FSTYPES = "tar.gz ext2.gz ext2.gz.u-boot jffs2 ubi ubifs"

IMAGE_INSTALL += "\
"

IMAGE_INSTALL_remove += "\
"

do_rootfs[depends] += "fsl-image-minimal:do_rootfs"

#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-minimal/1.0-r0/rootfs/boot/* ${IMAGE_ROOTFS}/boot/
}