mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +00:00
images: add a client and server image
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
17
recipes-security/images/security-client-image.bb
Normal file
17
recipes-security/images/security-client-image.bb
Normal file
@@ -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"
|
||||
20
recipes-security/images/security-server-image.bb
Normal file
20
recipes-security/images/security-server-image.bb
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user