cip-dev.lists.cip-project.org archive mirror
 help / color / mirror / Atom feed
* Re: [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe
       [not found] <16281511DE955BB5.19258@lists.cip-project.org>
@ 2020-08-18  4:57 ` Nobuhiro Iwamatsu
  2020-08-18  5:29   ` Jan Kiszka
  0 siblings, 1 reply; 6+ messages in thread
From: Nobuhiro Iwamatsu @ 2020-08-18  4:57 UTC (permalink / raw)
  To: jan.kiszka; +Cc: cip-dev

[-- Attachment #1: Type: text/plain, Size: 1536 bytes --]

Hi Jan,

Could you comment on this patch series?

Best regards,
 Nobuhiro

> -----Original Message-----
> From: cip-dev@lists.cip-project.org [mailto:cip-dev@lists.cip-project.org] On Behalf Of Nobuhiro Iwamatsu
> Sent: Tuesday, August 4, 2020 10:54 PM
> To: cip-dev@lists.cip-project.org
> Cc: iwamatsu nobuhiro(岩松 信洋 □SWC◯ACT) <nobuhiro1.iwamatsu@toshiba.co.jp>
> Subject: [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe
> 
> This recipe provides an image for testing.
> If use this, it will create an image containing LTP(ltp-full), rt-tests and stress-ng.
> 
> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
> ---
>  recipes-core/images/cip-core-image-test.bb | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>  create mode 100644 recipes-core/images/cip-core-image-test.bb
> 
> diff --git a/recipes-core/images/cip-core-image-test.bb b/recipes-core/images/cip-core-image-test.bb
> new file mode 100644
> index 0000000..e2b15fc
> --- /dev/null
> +++ b/recipes-core/images/cip-core-image-test.bb
> @@ -0,0 +1,18 @@
> +#
> +# CIP Core, generic profile
> +#
> +# Copyright (c) Siemens AG, 2019
> +#
> +# Authors:
> +#  Jan Kiszka <jan.kiszka@siemens.com>
> +#
> +# SPDX-License-Identifier: MIT
> +#
> +#
> +inherit dpkg-raw
> +require cip-core-image.bb
> +
> +DESCRIPTION = "CIP Core image including test packages"
> +
> +IMAGE_INSTALL += "ltp-full"
> +DEBIAN_DEPENDS += "rt-tests, stress-ng"
> --
> 2.27.0


[-- Attachment #2: Type: text/plain, Size: 419 bytes --]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#5127): https://lists.cip-project.org/g/cip-dev/message/5127
Mute This Topic: https://lists.cip-project.org/mt/75987091/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy  [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe
  2020-08-18  4:57 ` [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe Nobuhiro Iwamatsu
@ 2020-08-18  5:29   ` Jan Kiszka
  2020-08-18 13:47     ` Nobuhiro Iwamatsu
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2020-08-18  5:29 UTC (permalink / raw)
  To: cip-dev, Nobuhiro Iwamatsu

[-- Attachment #1: Type: text/plain, Size: 1970 bytes --]

On 18.08.20 06:57, Nobuhiro Iwamatsu wrote:
> Hi Jan,
> 
> Could you comment on this patch series?
> 

Ah, yeah, sorry.

I think now it's better to model that as extension of an image, given
that we already have two (regular + security). Or will we implicitly
test the security image via the regular one?

Jan

> Best regards,
>  Nobuhiro
> 
>> -----Original Message-----
>> From: cip-dev@lists.cip-project.org [mailto:cip-dev@lists.cip-project.org] On Behalf Of Nobuhiro Iwamatsu
>> Sent: Tuesday, August 4, 2020 10:54 PM
>> To: cip-dev@lists.cip-project.org
>> Cc: iwamatsu nobuhiro(岩松 信洋 □SWC◯ACT) <nobuhiro1.iwamatsu@toshiba.co.jp>
>> Subject: [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe
>>
>> This recipe provides an image for testing.
>> If use this, it will create an image containing LTP(ltp-full), rt-tests and stress-ng.
>>
>> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
>> ---
>>  recipes-core/images/cip-core-image-test.bb | 18 ++++++++++++++++++
>>  1 file changed, 18 insertions(+)
>>  create mode 100644 recipes-core/images/cip-core-image-test.bb
>>
>> diff --git a/recipes-core/images/cip-core-image-test.bb b/recipes-core/images/cip-core-image-test.bb
>> new file mode 100644
>> index 0000000..e2b15fc
>> --- /dev/null
>> +++ b/recipes-core/images/cip-core-image-test.bb
>> @@ -0,0 +1,18 @@
>> +#
>> +# CIP Core, generic profile
>> +#
>> +# Copyright (c) Siemens AG, 2019
>> +#
>> +# Authors:
>> +#  Jan Kiszka <jan.kiszka@siemens.com>
>> +#
>> +# SPDX-License-Identifier: MIT
>> +#
>> +#
>> +inherit dpkg-raw
>> +require cip-core-image.bb
>> +
>> +DESCRIPTION = "CIP Core image including test packages"
>> +
>> +IMAGE_INSTALL += "ltp-full"
>> +DEBIAN_DEPENDS += "rt-tests, stress-ng"
>> --
>> 2.27.0
> 
> 
> 
> 

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

[-- Attachment #2: Type: text/plain, Size: 419 bytes --]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#5128): https://lists.cip-project.org/g/cip-dev/message/5128
Mute This Topic: https://lists.cip-project.org/mt/75987091/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy  [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe
  2020-08-18  5:29   ` Jan Kiszka
@ 2020-08-18 13:47     ` Nobuhiro Iwamatsu
  2020-08-18 13:55       ` Jan Kiszka
  0 siblings, 1 reply; 6+ messages in thread
From: Nobuhiro Iwamatsu @ 2020-08-18 13:47 UTC (permalink / raw)
  To: jan.kiszka, cip-dev

[-- Attachment #1: Type: text/plain, Size: 2725 bytes --]

Hi,

> -----Original Message-----
> From: Jan Kiszka [mailto:jan.kiszka@siemens.com]
> Sent: Tuesday, August 18, 2020 2:30 PM
> To: cip-dev@lists.cip-project.org; iwamatsu nobuhiro(岩松 信洋 □SWC◯ACT) <nobuhiro1.iwamatsu@toshiba.co.jp>
> Subject: Re: [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe
> 
> On 18.08.20 06:57, Nobuhiro Iwamatsu wrote:
> > Hi Jan,
> >
> > Could you comment on this patch series?
> >
> 
> Ah, yeah, sorry.
> 
> I think now it's better to model that as extension of an image, given
> that we already have two (regular + security). Or will we implicitly
> test the security image via the regular one?
> 

I see.
When extended, the resulting image will have the same filename as the base.
It's difficult to distinguish, so it's implemented as it is now.
If you know how to change the generated image file name by yaml file, please let me know.

> Jan

Best regards,
  Nobuhiro

> 
> > Best regards,
> >  Nobuhiro
> >
> >> -----Original Message-----
> >> From: cip-dev@lists.cip-project.org [mailto:cip-dev@lists.cip-project.org] On Behalf Of Nobuhiro Iwamatsu
> >> Sent: Tuesday, August 4, 2020 10:54 PM
> >> To: cip-dev@lists.cip-project.org
> >> Cc: iwamatsu nobuhiro(岩松 信洋 □SWC◯ACT) <nobuhiro1.iwamatsu@toshiba.co.jp>
> >> Subject: [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe
> >>
> >> This recipe provides an image for testing.
> >> If use this, it will create an image containing LTP(ltp-full), rt-tests and stress-ng.
> >>
> >> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
> >> ---
> >>  recipes-core/images/cip-core-image-test.bb | 18 ++++++++++++++++++
> >>  1 file changed, 18 insertions(+)
> >>  create mode 100644 recipes-core/images/cip-core-image-test.bb
> >>
> >> diff --git a/recipes-core/images/cip-core-image-test.bb b/recipes-core/images/cip-core-image-test.bb
> >> new file mode 100644
> >> index 0000000..e2b15fc
> >> --- /dev/null
> >> +++ b/recipes-core/images/cip-core-image-test.bb
> >> @@ -0,0 +1,18 @@
> >> +#
> >> +# CIP Core, generic profile
> >> +#
> >> +# Copyright (c) Siemens AG, 2019
> >> +#
> >> +# Authors:
> >> +#  Jan Kiszka <jan.kiszka@siemens.com>
> >> +#
> >> +# SPDX-License-Identifier: MIT
> >> +#
> >> +#
> >> +inherit dpkg-raw
> >> +require cip-core-image.bb
> >> +
> >> +DESCRIPTION = "CIP Core image including test packages"
> >> +
> >> +IMAGE_INSTALL += "ltp-full"
> >> +DEBIAN_DEPENDS += "rt-tests, stress-ng"
> >> --
> >> 2.27.0
> >
> >
> > 
> >
> 
> --
> Siemens AG, Corporate Technology, CT RDA IOT SES-DE
> Corporate Competence Center Embedded Linux

[-- Attachment #2: Type: text/plain, Size: 419 bytes --]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#5131): https://lists.cip-project.org/g/cip-dev/message/5131
Mute This Topic: https://lists.cip-project.org/mt/75987091/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy  [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe
  2020-08-18 13:47     ` Nobuhiro Iwamatsu
@ 2020-08-18 13:55       ` Jan Kiszka
  2020-08-19  0:00         ` Nobuhiro Iwamatsu
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2020-08-18 13:55 UTC (permalink / raw)
  To: nobuhiro1.iwamatsu, cip-dev

[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]

On 18.08.20 15:47, nobuhiro1.iwamatsu@toshiba.co.jp wrote:
> Hi,
> 
>> -----Original Message-----
>> From: Jan Kiszka [mailto:jan.kiszka@siemens.com]
>> Sent: Tuesday, August 18, 2020 2:30 PM
>> To: cip-dev@lists.cip-project.org; iwamatsu nobuhiro(岩松 信洋 □SWC◯ACT) <nobuhiro1.iwamatsu@toshiba.co.jp>
>> Subject: Re: [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe
>>
>> On 18.08.20 06:57, Nobuhiro Iwamatsu wrote:
>>> Hi Jan,
>>>
>>> Could you comment on this patch series?
>>>
>>
>> Ah, yeah, sorry.
>>
>> I think now it's better to model that as extension of an image, given
>> that we already have two (regular + security). Or will we implicitly
>> test the security image via the regular one?
>>
> 
> I see.
> When extended, the resulting image will have the same filename as the base.
> It's difficult to distinguish, so it's implemented as it is now.
> If you know how to change the generated image file name by yaml file, please let me know.

Isar does not yet allow to override the image name. You'd basically have
to weaken its setting like this

[isar/meta/classes/image.bbclass]
IMAGE_FULLNAME ?= "${PN}-${DISTRO}-${MACHINE}"

and then you could override IMAGE_FULLNAME as desired.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

[-- Attachment #2: Type: text/plain, Size: 419 bytes --]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#5132): https://lists.cip-project.org/g/cip-dev/message/5132
Mute This Topic: https://lists.cip-project.org/mt/75987091/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy  [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe
  2020-08-18 13:55       ` Jan Kiszka
@ 2020-08-19  0:00         ` Nobuhiro Iwamatsu
  0 siblings, 0 replies; 6+ messages in thread
From: Nobuhiro Iwamatsu @ 2020-08-19  0:00 UTC (permalink / raw)
  To: jan.kiszka, cip-dev

[-- Attachment #1: Type: text/plain, Size: 1981 bytes --]

Hi,

> -----Original Message-----
> From: Jan Kiszka [mailto:jan.kiszka@siemens.com]
> Sent: Tuesday, August 18, 2020 10:56 PM
> To: iwamatsu nobuhiro(岩松 信洋 □SWC◯ACT) <nobuhiro1.iwamatsu@toshiba.co.jp>; cip-dev@lists.cip-project.org
> Subject: Re: [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe
> 
> On 18.08.20 15:47, nobuhiro1.iwamatsu@toshiba.co.jp wrote:
> > Hi,
> >
> >> -----Original Message-----
> >> From: Jan Kiszka [mailto:jan.kiszka@siemens.com]
> >> Sent: Tuesday, August 18, 2020 2:30 PM
> >> To: cip-dev@lists.cip-project.org; iwamatsu nobuhiro(岩松 信洋 □SWC◯ACT)
> <nobuhiro1.iwamatsu@toshiba.co.jp>
> >> Subject: Re: [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe
> >>
> >> On 18.08.20 06:57, Nobuhiro Iwamatsu wrote:
> >>> Hi Jan,
> >>>
> >>> Could you comment on this patch series?
> >>>
> >>
> >> Ah, yeah, sorry.
> >>
> >> I think now it's better to model that as extension of an image, given
> >> that we already have two (regular + security). Or will we implicitly
> >> test the security image via the regular one?
> >>
> >
> > I see.
> > When extended, the resulting image will have the same filename as the base.
> > It's difficult to distinguish, so it's implemented as it is now.
> > If you know how to change the generated image file name by yaml file, please let me know.
> 
> Isar does not yet allow to override the image name. You'd basically have
> to weaken its setting like this
> 
> [isar/meta/classes/image.bbclass]
> IMAGE_FULLNAME ?= "${PN}-${DISTRO}-${MACHINE}"
> 
> and then you could override IMAGE_FULLNAME as desired.

I see. Thanks for your comment.
I will update function for allow to override IMAGE_FULLNAME, and I will resend the updated patch.

> 
> Jan
> 

Best regards,
  Nobuhiro

> --
> Siemens AG, Corporate Technology, CT RDA IOT SES-DE
> Corporate Competence Center Embedded Linux

[-- Attachment #2: Type: text/plain, Size: 419 bytes --]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#5134): https://lists.cip-project.org/g/cip-dev/message/5134
Mute This Topic: https://lists.cip-project.org/mt/75987091/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy  [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-

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

* [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe
@ 2020-08-04 13:53 Nobuhiro Iwamatsu
  0 siblings, 0 replies; 6+ messages in thread
From: Nobuhiro Iwamatsu @ 2020-08-04 13:53 UTC (permalink / raw)
  To: cip-dev; +Cc: Nobuhiro Iwamatsu

[-- Attachment #1: Type: text/plain, Size: 946 bytes --]

This recipe provides an image for testing.
If use this, it will create an image containing LTP(ltp-full), rt-tests and stress-ng.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
---
 recipes-core/images/cip-core-image-test.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 recipes-core/images/cip-core-image-test.bb

diff --git a/recipes-core/images/cip-core-image-test.bb b/recipes-core/images/cip-core-image-test.bb
new file mode 100644
index 0000000..e2b15fc
--- /dev/null
+++ b/recipes-core/images/cip-core-image-test.bb
@@ -0,0 +1,18 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2019
+#
+# Authors:
+#  Jan Kiszka <jan.kiszka@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+#
+inherit dpkg-raw
+require cip-core-image.bb
+
+DESCRIPTION = "CIP Core image including test packages"
+
+IMAGE_INSTALL += "ltp-full"
+DEBIAN_DEPENDS += "rt-tests, stress-ng"
-- 
2.27.0


[-- Attachment #2: Type: text/plain, Size: 419 bytes --]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#5096): https://lists.cip-project.org/g/cip-dev/message/5096
Mute This Topic: https://lists.cip-project.org/mt/75987091/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy  [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-

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

end of thread, other threads:[~2020-08-19  0:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <16281511DE955BB5.19258@lists.cip-project.org>
2020-08-18  4:57 ` [cip-dev] [isar-cip-core][PATCH 1/3] cip-core-image-test: Add recipe Nobuhiro Iwamatsu
2020-08-18  5:29   ` Jan Kiszka
2020-08-18 13:47     ` Nobuhiro Iwamatsu
2020-08-18 13:55       ` Jan Kiszka
2020-08-19  0:00         ` Nobuhiro Iwamatsu
2020-08-04 13:53 Nobuhiro Iwamatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).