mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-14 04:31:16 +00:00
Create the lxd group as a system group for all projects. (LP: #1844498)
This commit is contained in:
parent
3fa91342a9
commit
4788e90315
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
livecd-rootfs (2.617) UNRELEASED; urgency=medium
|
||||
|
||||
* Create the lxd group as a system group for all projects. (LP: #1844498)
|
||||
|
||||
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Wed, 09 Oct 2019 10:12:09 +1300
|
||||
|
||||
livecd-rootfs (2.616) eoan; urgency=medium
|
||||
|
||||
* Subiquity images mount /usr/lib/modules from a squashfs, which systemd
|
||||
|
@ -988,6 +988,18 @@ echo "BUILDSTAMP=\"$NOW\"" >> config/binary
|
||||
echo "SUBPROJECT=\"${SUBPROJECT:-}\"" >> config/binary
|
||||
echo "LB_DISTRIBUTION=\"$SUITE\"" >> config/binary
|
||||
|
||||
# We add the lxd group at image build time so that the default user
|
||||
# created by the installer or cloud-init is added to it (cloud-init
|
||||
# will create any group the user is configured to be added to, but as
|
||||
# a normal group not a system group, see
|
||||
# https://bugs.launchpad.net/cloud-images/+bug/1844498).
|
||||
cat > config/hooks/100-add-lxd-group.chroot <<EOF
|
||||
#!/bin/bash
|
||||
|
||||
echo "Adding lxd group..."
|
||||
addgroup --system --quiet lxd
|
||||
EOF
|
||||
|
||||
case $ARCH+$SUBARCH in
|
||||
armhf+raspi2|armhf+raspi3|arm64+raspi3)
|
||||
cat > config/hooks/01-firmware-directory.chroot_early <<EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user