summaryrefslogtreecommitdiff
path: root/recipes-images/sintecs-virt-image/sintecs-virt-image.bb
blob: 32a414a531d995abc347db20e849bd6441031ad5 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 \
    \
"