public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] base: Tag do_clean as sudo user
@ 2023-02-11  8:42 Jan Kiszka
  2023-02-11  9:24 ` Moessbauer, Felix
  2023-02-16  4:48 ` Uladzimir Bely
  0 siblings, 2 replies; 3+ messages in thread
From: Jan Kiszka @ 2023-02-11  8:42 UTC (permalink / raw)
  To: isar-users

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

It does rm under sudo.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta/classes/base.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 972eefe3..88e173d8 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -231,6 +231,7 @@ CLEANFUNCS ?= ""
 # Derived from OpenEmbedded Core: meta/classes/utility-tasks.bbclass
 addtask clean
 do_clean[nostamp] = "1"
+do_clean[network] = "${TASK_USE_SUDO}"
 python do_clean() {
     import subprocess
     import glob
-- 
2.35.3

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

end of thread, other threads:[~2023-02-16  4:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-11  8:42 [PATCH] base: Tag do_clean as sudo user Jan Kiszka
2023-02-11  9:24 ` Moessbauer, Felix
2023-02-16  4:48 ` Uladzimir Bely

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