aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2016-10-16 00:57:27 -0700
committerArmin Kuster <akuster808@gmail.com>2016-11-01 09:03:15 -0700
commit9fb87c6c739c9a7180e7afd8079bbfe937b035ca (patch)
tree4fdfa1feb43adb0d0754cb3383f0db26cc951e0d
parent2431acfc957b98f74bc164a7c7e313dbdd38a267 (diff)
downloadmeta-security-9fb87c6c739c9a7180e7afd8079bbfe937b035ca.tar.gz
meta-security-9fb87c6c739c9a7180e7afd8079bbfe937b035ca.tar.bz2
meta-security-9fb87c6c739c9a7180e7afd8079bbfe937b035ca.zip
images: add a client and server image
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-security/images/security-client-image.bb17
-rw-r--r--recipes-security/images/security-server-image.bb20
2 files changed, 37 insertions, 0 deletions
diff --git a/recipes-security/images/security-client-image.bb b/recipes-security/images/security-client-image.bb
new file mode 100644
index 0000000..1a92479
--- /dev/null
+++ b/recipes-security/images/security-client-image.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "A Client side Security example"
+
+IMAGE_INSTALL = "\
+ packagegroup-base \
+ packagegroup-core-boot \
+ os-release \
+ samhain-client \
+ ${@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-client-image"
diff --git a/recipes-security/images/security-server-image.bb b/recipes-security/images/security-server-image.bb
new file mode 100644
index 0000000..502b5c1
--- /dev/null
+++ b/recipes-security/images/security-server-image.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "A Serve side image for Security example "
+
+IMAGE_FEATURES += "ssh-server-openssh"
+
+IMAGE_INSTALL = "\
+ packagegroup-base \
+ packagegroup-core-boot \
+ samhain-server \
+ os-release \
+ ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"
+
+IMAGE_LINGUAS ?= " "
+
+LICENSE = "MIT"
+
+inherit core-image
+
+export IMAGE_BASENAME = "security-server-image"
+
+IMAGE_ROOTFS_EXTRA_SPACE = "5242880"