All of lore.kernel.org
 help / color / mirror / Atom feed
* [isar-cip-core][PATCH] security-testing.yml: Add kas option for IEC layer testing
@ 2022-07-04 17:21 venkata.pyla
  2022-07-05  8:53 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: venkata.pyla @ 2022-07-04 17:21 UTC (permalink / raw)
  To: cip-dev, jan.kiszka; +Cc: venkata pyla, dinesh.kumar, kazuhiro3.hayashi

From: venkata pyla <venkata.pyla@toshiba-tsip.com>

This kas option file adds additonal packages required only while testing
using cip-security-tests[1].

Also it provides additional rootfs size required for testing.

[1] https://gitlab.com/cip-project/cip-testing/cip-security-tests

Signed-off-by: venkata pyla <venkata.pyla@toshiba-tsip.com>
---
 kas/opt/security-testing.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 kas/opt/security-testing.yml

diff --git a/kas/opt/security-testing.yml b/kas/opt/security-testing.yml
new file mode 100644
index 0000000..19215f1
--- /dev/null
+++ b/kas/opt/security-testing.yml
@@ -0,0 +1,20 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Toshiba Corporation, 2022
+#
+# Authors:
+#  Venkata Pyla <venkata.pyla@toshiba-tsip.com>
+#
+# SPDX-License-Identifier: MIT
+#
+header:
+  version: 10
+  includes:
+   - kas/opt/security.yml
+
+local_conf_header:
+     security_testing: |
+        IMAGE_PREINSTALL_append = " sshpass"
+        ROOTFS_EXTRA = "8192"
+
-- 
2.20.1




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

* Re: [isar-cip-core][PATCH] security-testing.yml: Add kas option for IEC layer testing
  2022-07-04 17:21 [isar-cip-core][PATCH] security-testing.yml: Add kas option for IEC layer testing venkata.pyla
@ 2022-07-05  8:53 ` Jan Kiszka
  2022-07-05 11:14   ` Venkata.Pyla
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2022-07-05  8:53 UTC (permalink / raw)
  To: venkata.pyla, cip-dev; +Cc: dinesh.kumar, kazuhiro3.hayashi

On 04.07.22 19:21, venkata.pyla@toshiba-tsip.com wrote:
> From: venkata pyla <venkata.pyla@toshiba-tsip.com>
> 
> This kas option file adds additonal packages required only while testing
> using cip-security-tests[1].
> 
> Also it provides additional rootfs size required for testing.
> 
> [1] https://gitlab.com/cip-project/cip-testing/cip-security-tests
> 
> Signed-off-by: venkata pyla <venkata.pyla@toshiba-tsip.com>
> ---
>  kas/opt/security-testing.yml | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 kas/opt/security-testing.yml
> 
> diff --git a/kas/opt/security-testing.yml b/kas/opt/security-testing.yml
> new file mode 100644
> index 0000000..19215f1
> --- /dev/null
> +++ b/kas/opt/security-testing.yml
> @@ -0,0 +1,20 @@
> +#
> +# CIP Core, generic profile
> +#
> +# Copyright (c) Toshiba Corporation, 2022
> +#
> +# Authors:
> +#  Venkata Pyla <venkata.pyla@toshiba-tsip.com>
> +#
> +# SPDX-License-Identifier: MIT
> +#
> +header:
> +  version: 10
> +  includes:
> +   - kas/opt/security.yml
> +
> +local_conf_header:
> +     security_testing: |
> +        IMAGE_PREINSTALL_append = " sshpass"
> +        ROOTFS_EXTRA = "8192"
> +

There is already kas/opt/test.yml. Can't we piggy-back on that one?
Would also already come with kconfig support.

Jan

-- 
Siemens AG, Technology
Competence Center Embedded Linux


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

* RE: [isar-cip-core][PATCH] security-testing.yml: Add kas option for IEC layer testing
  2022-07-05  8:53 ` Jan Kiszka
@ 2022-07-05 11:14   ` Venkata.Pyla
  2022-07-05 18:42     ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Venkata.Pyla @ 2022-07-05 11:14 UTC (permalink / raw)
  To: jan.kiszka, cip-dev; +Cc: dinesh.kumar, kazuhiro3.hayashi



>-----Original Message-----
>From: Jan Kiszka <jan.kiszka@siemens.com>
>Sent: 05 July 2022 14:24
>To: pyla venkata(TSIP TMIEC ODG Porting) <Venkata.Pyla@toshiba-
>tsip.com>; cip-dev@lists.cip-project.org
>Cc: dinesh kumar(TSIP) <dinesh.kumar@toshiba-tsip.com>; hayashi
>kazuhiro(林 和宏 □SWC◯ACT) <kazuhiro3.hayashi@toshiba.co.jp>
>Subject: Re: [isar-cip-core][PATCH] security-testing.yml: Add kas option for IEC
>layer testing
>
>On 04.07.22 19:21, venkata.pyla@toshiba-tsip.com wrote:
>> From: venkata pyla <venkata.pyla@toshiba-tsip.com>
>>
>> This kas option file adds additonal packages required only while
>> testing using cip-security-tests[1].
>>
>> Also it provides additional rootfs size required for testing.
>>
>> [1] https://gitlab.com/cip-project/cip-testing/cip-security-tests
>>
>> Signed-off-by: venkata pyla <venkata.pyla@toshiba-tsip.com>
>> ---
>>  kas/opt/security-testing.yml | 20 ++++++++++++++++++++
>>  1 file changed, 20 insertions(+)
>>  create mode 100644 kas/opt/security-testing.yml
>>
>> diff --git a/kas/opt/security-testing.yml
>> b/kas/opt/security-testing.yml new file mode 100644 index
>> 0000000..19215f1
>> --- /dev/null
>> +++ b/kas/opt/security-testing.yml
>> @@ -0,0 +1,20 @@
>> +#
>> +# CIP Core, generic profile
>> +#
>> +# Copyright (c) Toshiba Corporation, 2022 # # Authors:
>> +#  Venkata Pyla <venkata.pyla@toshiba-tsip.com> # #
>> +SPDX-License-Identifier: MIT #
>> +header:
>> +  version: 10
>> +  includes:
>> +   - kas/opt/security.yml
>> +
>> +local_conf_header:
>> +     security_testing: |
>> +        IMAGE_PREINSTALL_append = " sshpass"
>> +        ROOTFS_EXTRA = "8192"
>> +
>
>There is already kas/opt/test.yml. Can't we piggy-back on that one?
>Would also already come with kconfig support.

Yes I thin so, we can also add security testing requirements in to test.yml, 
but does it not create any side effect to  the original test image?
security testing requirements adds additional package `sshpass` and increases 
the rootfs size.

Or, can we select the local_conf_header fragment ('testing' or 'security_testing')
 from the kconfig based on image is selected? 

>
>Jan
>
>--
>Siemens AG, Technology
>Competence Center Embedded Linux

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

* Re: [isar-cip-core][PATCH] security-testing.yml: Add kas option for IEC layer testing
  2022-07-05 11:14   ` Venkata.Pyla
@ 2022-07-05 18:42     ` Jan Kiszka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2022-07-05 18:42 UTC (permalink / raw)
  To: Venkata.Pyla, cip-dev, Nobuhiro Iwamatsu; +Cc: dinesh.kumar, kazuhiro3.hayashi

On 05.07.22 13:14, Venkata.Pyla@toshiba-tsip.com wrote:
> 
> 
>> -----Original Message-----
>> From: Jan Kiszka <jan.kiszka@siemens.com>
>> Sent: 05 July 2022 14:24
>> To: pyla venkata(TSIP TMIEC ODG Porting) <Venkata.Pyla@toshiba-
>> tsip.com>; cip-dev@lists.cip-project.org
>> Cc: dinesh kumar(TSIP) <dinesh.kumar@toshiba-tsip.com>; hayashi
>> kazuhiro(林 和宏 □SWC◯ACT) <kazuhiro3.hayashi@toshiba.co.jp>
>> Subject: Re: [isar-cip-core][PATCH] security-testing.yml: Add kas option for IEC
>> layer testing
>>
>> On 04.07.22 19:21, venkata.pyla@toshiba-tsip.com wrote:
>>> From: venkata pyla <venkata.pyla@toshiba-tsip.com>
>>>
>>> This kas option file adds additonal packages required only while
>>> testing using cip-security-tests[1].
>>>
>>> Also it provides additional rootfs size required for testing.
>>>
>>> [1] https://gitlab.com/cip-project/cip-testing/cip-security-tests
>>>
>>> Signed-off-by: venkata pyla <venkata.pyla@toshiba-tsip.com>
>>> ---
>>>  kas/opt/security-testing.yml | 20 ++++++++++++++++++++
>>>  1 file changed, 20 insertions(+)
>>>  create mode 100644 kas/opt/security-testing.yml
>>>
>>> diff --git a/kas/opt/security-testing.yml
>>> b/kas/opt/security-testing.yml new file mode 100644 index
>>> 0000000..19215f1
>>> --- /dev/null
>>> +++ b/kas/opt/security-testing.yml
>>> @@ -0,0 +1,20 @@
>>> +#
>>> +# CIP Core, generic profile
>>> +#
>>> +# Copyright (c) Toshiba Corporation, 2022 # # Authors:
>>> +#  Venkata Pyla <venkata.pyla@toshiba-tsip.com> # #
>>> +SPDX-License-Identifier: MIT #
>>> +header:
>>> +  version: 10
>>> +  includes:
>>> +   - kas/opt/security.yml
>>> +
>>> +local_conf_header:
>>> +     security_testing: |
>>> +        IMAGE_PREINSTALL_append = " sshpass"
>>> +        ROOTFS_EXTRA = "8192"
>>> +
>>
>> There is already kas/opt/test.yml. Can't we piggy-back on that one?
>> Would also already come with kconfig support.
> 
> Yes I thin so, we can also add security testing requirements in to test.yml, 
> but does it not create any side effect to  the original test image?
> security testing requirements adds additional package `sshpass` and increases 
> the rootfs size.
> 
> Or, can we select the local_conf_header fragment ('testing' or 'security_testing')
>  from the kconfig based on image is selected? 

Adding Nobuhiro, he once wrote that. But I strongly suspect the impact
is not relevant, in both directions. If there should be, we can look
into image-specific additions, but via the same option file.

My goal here is to keep the number of kas option files low whenever
possible. From a user perspective, it does not matter if a regular or a
security image is augmented with testing features.

Jan

-- 
Siemens AG, Technology
Competence Center Embedded Linux


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

end of thread, other threads:[~2022-07-05 18:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 17:21 [isar-cip-core][PATCH] security-testing.yml: Add kas option for IEC layer testing venkata.pyla
2022-07-05  8:53 ` Jan Kiszka
2022-07-05 11:14   ` Venkata.Pyla
2022-07-05 18:42     ` 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.