public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Moessbauer Felix <felix.moessbauer@siemens.com>
To: Quirin Gylstorff <Quirin.Gylstorff@siemens.com>,
	 isar-users@googlegroups.com
Subject: Re: [PATCH] dpkg-base: Fix task devshell_nodeps
Date: Tue, 27 Jun 2023 13:46:22 +0800	[thread overview]
Message-ID: <02784a14279f68d5cf9ad98db49d5a97e68d8eb6.camel@siemens.com> (raw)
In-Reply-To: <20230627054422.33699-1-Quirin.Gylstorff@siemens.com>

On Tue, 2023-06-27 at 07:44 +0200, Quirin Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> 
> The task devshell_nodeps fails with:
> 
> sudo: /etc/sudo.conf is owned by uid 65534, should be 0
> sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit
> set
> 
> as the options do_devshell_nodeps[network] is missing.
> 
> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>

Acked-by: Felix Moessbauer <felix.moessbauer@siemens.com>

> ---
>  meta/classes/dpkg-base.bbclass | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/classes/dpkg-base.bbclass b/meta/classes/dpkg-
> base.bbclass
> index e3412c82..7b02f378 100644
> --- a/meta/classes/dpkg-base.bbclass
> +++ b/meta/classes/dpkg-base.bbclass
> @@ -339,3 +339,4 @@ python do_devshell_nodeps() {
>  addtask devshell_nodeps after do_prepare_build
>  do_devshell_nodeps[dirs] = "${DEVSHELL_STARTDIR}"
>  do_devshell_nodeps[nostamp] = "1"
> +do_devshell_nodeps[network] = "${TASK_USE_SUDO}"


  reply	other threads:[~2023-06-27  5:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-27  5:44 Quirin Gylstorff
2023-06-27  5:46 ` Moessbauer Felix [this message]
2023-06-30 11:57 ` Uladzimir Bely

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=02784a14279f68d5cf9ad98db49d5a97e68d8eb6.camel@siemens.com \
    --to=felix.moessbauer@siemens.com \
    --cc=Quirin.Gylstorff@siemens.com \
    --cc=isar-users@googlegroups.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