From: Uladzimir Bely <ubely@ilbers.de>
To: isar-users <isar-users@googlegroups.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Subject: Re: [PATCH] base: Tag do_clean as sudo user
Date: Thu, 16 Feb 2023 07:48:24 +0300 [thread overview]
Message-ID: <1890950.7Z3S40VBb9@home> (raw)
In-Reply-To: <156491f7-6b1b-df7d-fc03-d18ac87d7056@siemens.com>
In the email from Saturday, 11 February 2023 11:42:05 +03 user Jan Kiszka
wrote:
> 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
Applied to next, thanks.
prev parent reply other threads:[~2023-02-16 4:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-11 8:42 Jan Kiszka
2023-02-11 9:24 ` Moessbauer, Felix
2023-02-16 4:48 ` Uladzimir Bely [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1890950.7Z3S40VBb9@home \
--to=ubely@ilbers.de \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox