From dc1f2618b9cef0e1dfa108b0a5bbbda08788888e Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lallement Date: Thu, 31 Mar 2022 10:31:31 +0200 Subject: [PATCH] Create missing groups in chroot netdev and admin where missing from the image after the build has been separated from CPC Co-authored-by: Didier Roche --- debian/changelog | 8 ++++++-- live-build/ubuntu-wsl/hooks/10-create-groups.chroot | 10 ++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100755 live-build/ubuntu-wsl/hooks/10-create-groups.chroot diff --git a/debian/changelog b/debian/changelog index b9197dd3..42b846c3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,12 @@ -livecd-rootfs (2.762) UNRELEASED; urgency=medium +livecd-rootfs (2.762) jammy; urgency=medium + [ Dimitri John Ledkov ] * auto/config: drop support for 0c3.net domain, now obsolete. - -- Dimitri John Ledkov Mon, 28 Mar 2022 11:51:44 +0100 + [ Jean-Baptiste Lallement ] + * wsl: Create missing groups in chroot + + -- Jean-Baptiste Lallement Thu, 31 Mar 2022 08:56:33 +0200 livecd-rootfs (2.761) jammy; urgency=medium diff --git a/live-build/ubuntu-wsl/hooks/10-create-groups.chroot b/live-build/ubuntu-wsl/hooks/10-create-groups.chroot new file mode 100755 index 00000000..d731044a --- /dev/null +++ b/live-build/ubuntu-wsl/hooks/10-create-groups.chroot @@ -0,0 +1,10 @@ +#!/bin/bash +# +# Create the necessary groups +# + +echo "Adding admin group..." +addgroup --system --quiet admin + +echo "Adding netdev group..." +addgroup --system --quiet netdev