aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2016-10-14 23:09:20 -0700
committerArmin Kuster <akuster808@gmail.com>2016-11-01 09:03:15 -0700
commit2d9a16062b27138976dfd6ac7e2624d0915d234e (patch)
tree272fb5624ec41c64a4e6cb203fe206c80213d6df
parentdbf381e349e3c6fe75b13255062e44438cc636e1 (diff)
downloadmeta-security-2d9a16062b27138976dfd6ac7e2624d0915d234e.tar.gz
meta-security-2d9a16062b27138976dfd6ac7e2624d0915d234e.tar.bz2
meta-security-2d9a16062b27138976dfd6ac7e2624d0915d234e.zip
image: at image to help test builds
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-security/images/security-build-image.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-security/images/security-build-image.bb b/recipes-security/images/security-build-image.bb
new file mode 100644
index 0000000..6745338
--- /dev/null
+++ b/recipes-security/images/security-build-image.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "A small image for building meta-security packages"
+
+IMAGE_FEATURES += "ssh-server-openssh"
+
+IMAGE_INSTALL = "\
+ packagegroup-base \
+ packagegroup-core-boot \
+ packagegroup-core-security \
+ os-release \
+ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-xfce-base", "", d)} \
+ ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"
+
+IMAGE_LINGUAS ?= " "
+
+LICENSE = "MIT"
+
+inherit core-image
+
+export IMAGE_BASENAME = "security-build-image"
+
+IMAGE_ROOTFS_EXTRA_SPACE = "5242880"