* [PATCH] dpkg-base: Fix task devshell_nodeps
@ 2023-06-27 5:44 Quirin Gylstorff
2023-06-27 5:46 ` Moessbauer Felix
2023-06-30 11:57 ` Uladzimir Bely
0 siblings, 2 replies; 3+ messages in thread
From: Quirin Gylstorff @ 2023-06-27 5:44 UTC (permalink / raw)
To: isar-users, felix.moessbauer
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>
---
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}"
--
2.40.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dpkg-base: Fix task devshell_nodeps
2023-06-27 5:44 [PATCH] dpkg-base: Fix task devshell_nodeps Quirin Gylstorff
@ 2023-06-27 5:46 ` Moessbauer Felix
2023-06-30 11:57 ` Uladzimir Bely
1 sibling, 0 replies; 3+ messages in thread
From: Moessbauer Felix @ 2023-06-27 5:46 UTC (permalink / raw)
To: Quirin Gylstorff, isar-users
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}"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dpkg-base: Fix task devshell_nodeps
2023-06-27 5:44 [PATCH] dpkg-base: Fix task devshell_nodeps Quirin Gylstorff
2023-06-27 5:46 ` Moessbauer Felix
@ 2023-06-30 11:57 ` Uladzimir Bely
1 sibling, 0 replies; 3+ messages in thread
From: Uladzimir Bely @ 2023-06-30 11:57 UTC (permalink / raw)
To: Quirin Gylstorff, isar-users, felix.moessbauer
On Tue, 2023-06-27 at 07:44 +0200, 'Quirin Gylstorff' via isar-users
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>
> ---
> 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}"
> --
> 2.40.1
>
Applied to next, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-06-30 11:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-27 5:44 [PATCH] dpkg-base: Fix task devshell_nodeps Quirin Gylstorff
2023-06-27 5:46 ` Moessbauer Felix
2023-06-30 11:57 ` Uladzimir Bely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox