|
|
|
@ -988,6 +988,7 @@ echo "BUILDSTAMP=\"$NOW\"" >> config/binary
|
|
|
|
|
echo "SUBPROJECT=\"${SUBPROJECT:-}\"" >> config/binary
|
|
|
|
|
echo "LB_DISTRIBUTION=\"$SUITE\"" >> config/binary
|
|
|
|
|
|
|
|
|
|
if [ $PROJECT != ubuntu-cpc ]; then
|
|
|
|
|
# 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
|
|
|
|
@ -999,6 +1000,7 @@ cat > config/hooks/100-add-lxd-group.chroot <<EOF
|
|
|
|
|
echo "Adding lxd group..."
|
|
|
|
|
addgroup --system --quiet lxd
|
|
|
|
|
EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
case $ARCH+$SUBARCH in
|
|
|
|
|
armhf+raspi2|armhf+raspi3|arm64+raspi3)
|
|
|
|
|