public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] initramfs: Add missing TASK_USE_SUDO
@ 2023-02-03 17:51 Jan Kiszka
  2023-02-03 18:18 ` Jan Kiszka
  2023-02-07  8:56 ` Uladzimir Bely
  0 siblings, 2 replies; 6+ messages in thread
From: Jan Kiszka @ 2023-02-03 17:51 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

From: Jan Kiszka <jan.kiszka@siemens.com>

Forgotten in fea0f649fc3a.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---

Aren't we testing this class in Isar? Found it while porting isar-cip-
core to bb2.

 meta/classes/initramfs.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/initramfs.bbclass b/meta/classes/initramfs.bbclass
index db283347..a5141a53 100644
--- a/meta/classes/initramfs.bbclass
+++ b/meta/classes/initramfs.bbclass
@@ -28,6 +28,7 @@ ROOTFS_PACKAGES = "initramfs-tools ${INITRAMFS_PREINSTALL} ${INITRAMFS_INSTALL}"
 inherit rootfs
 
 do_generate_initramfs[dirs] = "${DEPLOY_DIR_IMAGE}"
+do_generate_initramfs[network] = "${TASK_USE_SUDO}"
 do_generate_initramfs() {
     rootfs_do_mounts
     rootfs_do_qemu
-- 
2.35.3

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

* Re: [PATCH] initramfs: Add missing TASK_USE_SUDO
  2023-02-03 17:51 [PATCH] initramfs: Add missing TASK_USE_SUDO Jan Kiszka
@ 2023-02-03 18:18 ` Jan Kiszka
  2023-02-04 12:11   ` Moessbauer, Felix
  2023-02-07  5:41   ` Jan Kiszka
  2023-02-07  8:56 ` Uladzimir Bely
  1 sibling, 2 replies; 6+ messages in thread
From: Jan Kiszka @ 2023-02-03 18:18 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

On 03.02.23 18:51, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> Forgotten in fea0f649fc3a.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> 
> Aren't we testing this class in Isar? Found it while porting isar-cip-
> core to bb2.

There is a target mc:qemuamd64-bullseye:isar-initramfs in citest.py - no
idea why that did not trigger. In any case, please merge quickly to help
downstream.

Thanks,
Jan

> 
>  meta/classes/initramfs.bbclass | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/classes/initramfs.bbclass b/meta/classes/initramfs.bbclass
> index db283347..a5141a53 100644
> --- a/meta/classes/initramfs.bbclass
> +++ b/meta/classes/initramfs.bbclass
> @@ -28,6 +28,7 @@ ROOTFS_PACKAGES = "initramfs-tools ${INITRAMFS_PREINSTALL} ${INITRAMFS_INSTALL}"
>  inherit rootfs
>  
>  do_generate_initramfs[dirs] = "${DEPLOY_DIR_IMAGE}"
> +do_generate_initramfs[network] = "${TASK_USE_SUDO}"
>  do_generate_initramfs() {
>      rootfs_do_mounts
>      rootfs_do_qemu

-- 
Siemens AG, Technology
Competence Center Embedded Linux


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

* Re: [PATCH] initramfs: Add missing TASK_USE_SUDO
  2023-02-03 18:18 ` Jan Kiszka
@ 2023-02-04 12:11   ` Moessbauer, Felix
  2023-02-07  5:41   ` Jan Kiszka
  1 sibling, 0 replies; 6+ messages in thread
From: Moessbauer, Felix @ 2023-02-04 12:11 UTC (permalink / raw)
  To: amikan, Kiszka, Jan; +Cc: isar-users

On Fri, 2023-02-03 at 19:18 +0100, Jan Kiszka wrote:
> On 03.02.23 18:51, Jan Kiszka wrote:
> > From: Jan Kiszka <jan.kiszka@siemens.com>
> > 
> > Forgotten in fea0f649fc3a.
> > 
> > Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> > ---
> > 
> > Aren't we testing this class in Isar? Found it while porting isar-
> > cip-
> > core to bb2.
> 
> There is a target mc:qemuamd64-bullseye:isar-initramfs in citest.py -
> no
> idea why that did not trigger. In any case, please merge quickly to
> help
> downstream.

Acked. The same applies to other fixes to make ISAR work again on
sid or risv or in CI. Latest next is currently not usable.

Felix

> 
> Thanks,
> Jan
> 
> > 
> >  meta/classes/initramfs.bbclass | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/meta/classes/initramfs.bbclass
> > b/meta/classes/initramfs.bbclass
> > index db283347..a5141a53 100644
> > --- a/meta/classes/initramfs.bbclass
> > +++ b/meta/classes/initramfs.bbclass
> > @@ -28,6 +28,7 @@ ROOTFS_PACKAGES = "initramfs-tools
> > ${INITRAMFS_PREINSTALL} ${INITRAMFS_INSTALL}"
> >  inherit rootfs
> >  
> >  do_generate_initramfs[dirs] = "${DEPLOY_DIR_IMAGE}"
> > +do_generate_initramfs[network] = "${TASK_USE_SUDO}"
> >  do_generate_initramfs() {
> >      rootfs_do_mounts
> >      rootfs_do_qemu
> 
> -- 
> Siemens AG, Technology
> Competence Center Embedded Linux
> 


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

* Re: [PATCH] initramfs: Add missing TASK_USE_SUDO
  2023-02-03 18:18 ` Jan Kiszka
  2023-02-04 12:11   ` Moessbauer, Felix
@ 2023-02-07  5:41   ` Jan Kiszka
  1 sibling, 0 replies; 6+ messages in thread
From: Jan Kiszka @ 2023-02-07  5:41 UTC (permalink / raw)
  To: isar-users, Uladzimir Bely
  Cc: Anton Mikanovich, Moessbauer, Felix (T CED SES-DE)

On 03.02.23 19:18, Jan Kiszka wrote:
> On 03.02.23 18:51, Jan Kiszka wrote:
>> From: Jan Kiszka <jan.kiszka@siemens.com>
>>
>> Forgotten in fea0f649fc3a.
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>> ---
>>
>> Aren't we testing this class in Isar? Found it while porting isar-cip-
>> core to bb2.
> 
> There is a target mc:qemuamd64-bullseye:isar-initramfs in citest.py - no
> idea why that did not trigger. In any case, please merge quickly to help
> downstream.
> 

mc:qemuamd64-bullseye:isar-initramfs fails miserably when being built. I
still don't understand how the testsuite works and how that was missing
in your CI.

However, please merge such simple, obvious fixes much faster, even more
when CI didn't help anyway.

Jan

-- 
Siemens AG, Technology
Competence Center Embedded Linux


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

* Re: [PATCH] initramfs: Add missing TASK_USE_SUDO
  2023-02-03 17:51 [PATCH] initramfs: Add missing TASK_USE_SUDO Jan Kiszka
  2023-02-03 18:18 ` Jan Kiszka
@ 2023-02-07  8:56 ` Uladzimir Bely
  2023-02-07 13:45   ` Jan Kiszka
  1 sibling, 1 reply; 6+ messages in thread
From: Uladzimir Bely @ 2023-02-07  8:56 UTC (permalink / raw)
  To: isar-users, Jan Kiszka

In the email from Friday, 3 February 2023 20:51:27 +03 user Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> Forgotten in fea0f649fc3a.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> 
> Aren't we testing this class in Isar? Found it while porting isar-cip-
> core to bb2.
> 
>  meta/classes/initramfs.bbclass | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied to next, thanks.




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

* Re: [PATCH] initramfs: Add missing TASK_USE_SUDO
  2023-02-07  8:56 ` Uladzimir Bely
@ 2023-02-07 13:45   ` Jan Kiszka
  0 siblings, 0 replies; 6+ messages in thread
From: Jan Kiszka @ 2023-02-07 13:45 UTC (permalink / raw)
  To: Uladzimir Bely, isar-users

On 07.02.23 09:56, Uladzimir Bely wrote:
> In the email from Friday, 3 February 2023 20:51:27 +03 user Jan Kiszka wrote:
>> From: Jan Kiszka <jan.kiszka@siemens.com>
>>
>> Forgotten in fea0f649fc3a.
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>> ---
>>
>> Aren't we testing this class in Isar? Found it while porting isar-cip-
>> core to bb2.
>>
>>  meta/classes/initramfs.bbclass | 1 +
>>  1 file changed, 1 insertion(+)
>>
> 
> Applied to next, thanks.
> 

Thanks you!

Jan

-- 
Siemens AG, Technology
Competence Center Embedded Linux


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

end of thread, other threads:[~2023-02-07 13:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-03 17:51 [PATCH] initramfs: Add missing TASK_USE_SUDO Jan Kiszka
2023-02-03 18:18 ` Jan Kiszka
2023-02-04 12:11   ` Moessbauer, Felix
2023-02-07  5:41   ` Jan Kiszka
2023-02-07  8:56 ` Uladzimir Bely
2023-02-07 13:45   ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox