All of lore.kernel.org
 help / color / mirror / Atom feed
* [isar-cip-core] security-customizations: Inherit common customizations to security image
@ 2022-08-09 16:55 venkata.pyla
  2022-08-10 11:52 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: venkata.pyla @ 2022-08-09 16:55 UTC (permalink / raw)
  To: cip-dev, jan.kiszka; +Cc: venkata pyla, dinesh.kumar, kazuhiro3.hayashi

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"
-- 
2.20.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [isar-cip-core] security-customizations: Inherit common customizations to security image
  2022-08-09 16:55 [isar-cip-core] security-customizations: Inherit common customizations to security image venkata.pyla
@ 2022-08-10 11:52 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2022-08-10 11:52 UTC (permalink / raw)
  To: venkata.pyla, cip-dev; +Cc: dinesh.kumar, kazuhiro3.hayashi

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

-- 
Siemens AG, Technology
Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-10 11:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09 16:55 [isar-cip-core] security-customizations: Inherit common customizations to security image venkata.pyla
2022-08-10 11:52 ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.