aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/images/security-build-image.bb
blob: 9c820495f4de6c405263cc75503f00a670cd1d11 (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
DESCRIPTION = "A small image for building meta-security packages"

IMAGE_FEATURES += "ssh-server-openssh"

IMAGE_INSTALL = "\
    ${@bb.utils.contains("DISTRO_FEATURES", "lkrg", "lkrg-module", "",d)} \
    packagegroup-base \
    packagegroup-core-boot \
    packagegroup-core-security \
    os-release" 

IMAGE_LINGUAS ?= " "

LICENSE = "MIT"

inherit core-image

export IMAGE_BASENAME = "security-build-image"

IMAGE_ROOTFS_EXTRA_SPACE = "5242880"

QB_KERNEL_CMDLINE_APPEND = " ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', 'apparmor=1 security=apparmor', '', d)}"

# We need more mem to run many apps in this layer
QB_MEM = "-m 2048"