Message ID | 20220809165528.21438-1-venkata.pyla@toshiba-tsip.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | [isar-cip-core] security-customizations: Inherit common customizations to security image | expand |
On 09.08.22 18:55, venkata.pyla@toshiba-tsip.com wrote: > From: venkata pyla <venkata.pyla@toshiba-tsip.com> > > Current security image doesn't enable ethernet device by default in > QEMU target, which is required to verify some of the security requirements > like multi-factor authentication. > > This will reuse the customization in common.inc recipe that will enable > necessary settings in security image. > > Signed-off-by: venkata pyla <venkata.pyla@toshiba-tsip.com> > --- > .../security-customizations/security-customizations.bb | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/recipes-core/security-customizations/security-customizations.bb b/recipes-core/security-customizations/security-customizations.bb > index 4a41d2d..240a577 100644 > --- a/recipes-core/security-customizations/security-customizations.bb > +++ b/recipes-core/security-customizations/security-customizations.bb > @@ -9,11 +9,12 @@ > # SPDX-License-Identifier: MIT > # > > -inherit dpkg-raw > +require recipes-core/customizations/common.inc > > 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 = "sshd-regen-keys" > -DEBIAN_DEPENDS = "sshd-regen-keys, libpam-google-authenticator" Thanks, applied. Jan
diff --git a/recipes-core/security-customizations/security-customizations.bb b/recipes-core/security-customizations/security-customizations.bb index 4a41d2d..240a577 100644 --- a/recipes-core/security-customizations/security-customizations.bb +++ b/recipes-core/security-customizations/security-customizations.bb @@ -9,11 +9,12 @@ # SPDX-License-Identifier: MIT # -inherit dpkg-raw +require recipes-core/customizations/common.inc 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 = "sshd-regen-keys" -DEBIAN_DEPENDS = "sshd-regen-keys, libpam-google-authenticator"