@@ -28,24 +28,14 @@ IMAGE_PREINSTALL += " \
tpm2-tools \
tpm2-abrmd \
acl \
- audispd-plugins auditd \
+ audispd-plugins \
uuid-runtime \
sudo \
aide-common \
- libpam-google-authenticator \
passwd \
login \
- libpam-runtime \
util-linux \
"
-# Package names based on the distro version
-IMAGE_PREINSTALL:append:buster = " libtss2-esys0 \
- libpam-cracklib"
-IMAGE_PREINSTALL:append:bullseye = " libtss2-esys-3.0.2-0 \
- libpam-cracklib"
-IMAGE_PREINSTALL:append:bookworm = " libtss2-esys-3.0.2-0 \
- libpam-passwdqc"
-
CIP_IMAGE_OPTIONS ?= ""
require ${CIP_IMAGE_OPTIONS}
@@ -11,14 +11,19 @@
inherit dpkg-raw
-DESCRIPTION = "CIP Security image for IEC62443-4-2 evaluation"
+DESCRIPTION = "CIP Security configuration for IEC62443-4-2 evaluation"
SRC_URI = "file://postinst \
file://ssh-remote-session-term.conf \
file://ssh-pam-remote.conf"
-DEPENDS = "customizations, sshd-regen-keys"
-DEBIAN_DEPENDS = "customizations , sshd-regen-keys, libpam-google-authenticator"
+DEPENDS = "customizations sshd-regen-keys"
+DEBIAN_DEPENDS = "customizations, sshd-regen-keys, libpam-google-authenticator, libpam-modules, libpam-runtime, auditd"
+
+# Package names based on the distro version
+DEBIAN_DEPENDS:append:buster = ", libpam-cracklib"
+DEBIAN_DEPENDS:append:bullseye = ", libpam-cracklib"
+DEBIAN_DEPENDS:append:bookworm = ", libpam-passwdqc"
do_install[cleandirs] += "${D}/etc/ssh/sshd_config.d/"
do_install () {