@@ -24,3 +24,5 @@ local_conf_header:
adjust-swupdate: |
ABROOTFS_IMAGE_RECIPE = "cip-core-image-security"
VERITY_IMAGE_RECIPE = "cip-core-image-security"
+ security-override: |
+ OVERRIDES .= ":security"
@@ -12,6 +12,8 @@
require common.inc
SRC_URI += "file://ssh-permit-root.conf"
+SRC_URI:remove:security = "file://ssh-permit-root.conf"
+
DESCRIPTION = "CIP Core image demo & customizations"
do_prepare_build:prepend:qemu-riscv64() {
@@ -8,10 +8,6 @@ set -e
echo "CIP Core Security Image (login: root/CIPsecurity@123)" > /etc/issue
-HOSTNAME=demo
-echo "$HOSTNAME" > /etc/hostname
-echo "127.0.0.1 $HOSTNAME" >> /etc/hosts
-
# CR1.7: Strength of password-based authentication
# Pam configuration to enforce password strength
PAM_PWD_FILE="/etc/pam.d/common-password"
@@ -9,12 +9,12 @@
# SPDX-License-Identifier: MIT
#
-require recipes-core/customizations/common.inc
+inherit dpkg-raw
DESCRIPTION = "CIP Security image for IEC62443-4-2 evaluation"
-SRC_URI += "file://postinst"
+SRC_URI = "file://postinst"
-DEPENDS += "sshd-regen-keys"
-DEBIAN_DEPENDS += ", sshd-regen-keys, libpam-google-authenticator"
+DEPENDS = "customizations, sshd-regen-keys"
+DEBIAN_DEPENDS = "customizations , sshd-regen-keys, libpam-google-authenticator"