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

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