public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* putting users into groups (created by packages)
@ 2021-07-22 16:33 Henning Schild
  2021-07-22 18:27 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Henning Schild @ 2021-07-22 16:33 UTC (permalink / raw)
  To: isar-users, Claudius Heine

Hi,

i just had a need to install docker and join a user into that group.
But even though the package would create the group ... i found myself
having to create the group anyways. Because we run
"ROOTFS_CONFIGURE_COMMAND" before installing packages.

So i need 

+IMAGE_PREINSTALL += "docker.io ca-certificates apparmor"
+
+USER_admin[groups] += "docker"

and

+GROUPS += "docker"
+GROUPS_docker[flags] = "system"

Would it not be nice to move "image_configure_accounts" into
ROOTFS_POSTPROCESS_COMMAND? So these last two lines would not be
needed. Especiall the last one is nasty ... because i have to mimic the
flags of a postinst.

Henning

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

end of thread, other threads:[~2021-07-23  9:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-22 16:33 putting users into groups (created by packages) Henning Schild
2021-07-22 18:27 ` Jan Kiszka
2021-07-23  6:41   ` Henning Schild
2021-07-23  9:27     ` Claudius Heine

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