Compare commits

...

4 Commits

Author SHA1 Message Date
Michael Hudson-Doyle
8d6ec18132 releasing package livecd-rootfs version 24.10.28 2024-11-08 11:46:49 +13:00
Michael Hudson-Doyle
945b6ef352 include comment change in changelog 2024-11-08 11:46:31 +13:00
John Chittum
7877496010
changelog 2024-11-07 08:11:21 -05:00
John Chittum
d1febadd37
fix(buildd): create buildd homedir
LP:2083240

starting in noble, adduser no longer creates a homedir for system users.
The buildd user then does not have a home directory, causing snaps to be
unable to run, as well as possibly other issues from a missing assumed
homedir. Explicitly create /home/buildd
2024-11-06 07:35:09 -05:00
2 changed files with 13 additions and 1 deletions

11
debian/changelog vendored
View File

@ -1,3 +1,14 @@
livecd-rootfs (24.10.28) oracular; urgency=medium
[ jchittum ]
* Explicitly create home directory for buildd system user to avoid issues
with installing and running snaps. (LP: #2083240)
[ Łukasz 'sil2100' Zemczak ]
* Add comment re: the cohort key in prepare-image.
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Fri, 08 Nov 2024 11:46:38 +1300
livecd-rootfs (24.10.27) oracular; urgency=medium livecd-rootfs (24.10.27) oracular; urgency=medium
* Set UBUNTU_STORE_COHORT_KEY="+" to prepare-image to make sure we simply * Set UBUNTU_STORE_COHORT_KEY="+" to prepare-image to make sure we simply

View File

@ -4,6 +4,7 @@ set -e
# Create the buildd user and group. # Create the buildd user and group.
addgroup --gid 2501 buildd addgroup --gid 2501 buildd
adduser --system --disabled-password --gecos 'Build Daemon user' \ adduser --system --disabled-password --gecos 'Build Daemon user' \
--ingroup buildd --uid 2001 --shell /bin/bash buildd --ingroup buildd --uid 2001 --shell /bin/bash --home /home/buildd \
buildd
mkdir -p /build/buildd mkdir -p /build/buildd
chown buildd:buildd /build/buildd chown buildd:buildd /build/buildd