* [PATCH v2 0/1] example-raw: fix postinst script dependency on adduser
@ 2022-11-15 13:53 Uladzimir Bely
2022-11-15 13:53 ` [PATCH v2 1/1] " Uladzimir Bely
2022-11-18 15:23 ` [PATCH v2 0/1] " Anton Mikanovich
0 siblings, 2 replies; 3+ messages in thread
From: Uladzimir Bely @ 2022-11-15 13:53 UTC (permalink / raw)
To: isar-users
Fix missing `addgroup` when `container-amd64-bookworm` is installed
Changes since v1:
- removed unnecessary comments
- removed `passwd` dependency while `adduser` already includes it
Uladzimir Bely (1):
example-raw: fix postinst script dependency on adduser
meta-isar/recipes-app/example-raw/example-raw_0.3.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.20.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2 1/1] example-raw: fix postinst script dependency on adduser
2022-11-15 13:53 [PATCH v2 0/1] example-raw: fix postinst script dependency on adduser Uladzimir Bely
@ 2022-11-15 13:53 ` Uladzimir Bely
2022-11-18 15:23 ` [PATCH v2 0/1] " Anton Mikanovich
1 sibling, 0 replies; 3+ messages in thread
From: Uladzimir Bely @ 2022-11-15 13:53 UTC (permalink / raw)
To: isar-users
Starting from Nov 2022, package `adduser` is not preinstalled
in bullseye when the distro debootstrapped.
This caused example-raw `postinst: 6: addgroup: not found` error
when installing `container-amd64-bookworm` image.
The problem was not reproduced on `qemuamd64-bookworm` while `adduser`
exist in the image as a dependency of some other package.
Fix the problem by adding explicit dependency to `adduser` package.
Also, we don't need dependency on `passwd` anymore while `adduser`
already depends on it in all distros.
Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
---
meta-isar/recipes-app/example-raw/example-raw_0.3.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-isar/recipes-app/example-raw/example-raw_0.3.bb b/meta-isar/recipes-app/example-raw/example-raw_0.3.bb
index 21664642..ffa14340 100644
--- a/meta-isar/recipes-app/example-raw/example-raw_0.3.bb
+++ b/meta-isar/recipes-app/example-raw/example-raw_0.3.bb
@@ -5,7 +5,7 @@
DESCRIPTION = "Sample application for ISAR"
MAINTAINER = "Your name here <you@domain.com>"
-DEBIAN_DEPENDS = "apt (>= 0.4.2), passwd"
+DEBIAN_DEPENDS = "adduser, apt (>= 0.4.2)"
SRC_URI = "file://README \
file://postinst \
--
2.20.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 0/1] example-raw: fix postinst script dependency on adduser
2022-11-15 13:53 [PATCH v2 0/1] example-raw: fix postinst script dependency on adduser Uladzimir Bely
2022-11-15 13:53 ` [PATCH v2 1/1] " Uladzimir Bely
@ 2022-11-18 15:23 ` Anton Mikanovich
1 sibling, 0 replies; 3+ messages in thread
From: Anton Mikanovich @ 2022-11-18 15:23 UTC (permalink / raw)
To: Uladzimir Bely, isar-users
15.11.2022 16:53, Uladzimir Bely wrote:
> Fix missing `addgroup` when `container-amd64-bookworm` is installed
>
> Changes since v1:
> - removed unnecessary comments
> - removed `passwd` dependency while `adduser` already includes it
>
> Uladzimir Bely (1):
> example-raw: fix postinst script dependency on adduser
>
> meta-isar/recipes-app/example-raw/example-raw_0.3.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied to next, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-18 15:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-15 13:53 [PATCH v2 0/1] example-raw: fix postinst script dependency on adduser Uladzimir Bely
2022-11-15 13:53 ` [PATCH v2 1/1] " Uladzimir Bely
2022-11-18 15:23 ` [PATCH v2 0/1] " Anton Mikanovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox