debian-forge-composer/internal
Ondřej Budai d8342862d5 customizations: create all groups unconditionally
We had this weird condition in code that prevented composer to create groups
with the same name as a user has. This unfortunately means that you are not
able to create a user with a primary group with a certain GID that has the
same name as the user. There's the gid field in the user customization,
but it requires that the group already exists.

In order to allow that, we need to remove the condition. From now on, it's
possible to create groups with the same name as a user has, which can be used
to create primary groups with a custom gid.

Note that the lorax compatibility behaviour was actually wrong. When lorax was
given a custom gid for a user, it didn't require the gid to exist. When it
didn't, the group was just created. Thus, we still don't have full backward
compatibility, but at least we now have support for this.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2023-04-19 11:50:49 +02:00
..
artifact artifact: this represents the artifacts a manifest exports 2022-07-22 16:04:07 +02:00
auth Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
blueprint customizations: create all groups unconditionally 2023-04-19 11:50:49 +02:00
boot upload/azure: migrate from azure-storage-blob-go to azure-sdk-for-go 2023-04-04 09:09:43 +02:00
client Remove old build tag comments 2023-03-07 09:22:23 -08:00
cloud Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
cloudapi container: add ListDigest to the spec 2023-04-17 18:30:41 +02:00
common upload/azure: migrate from azure-storage-blob-go to azure-sdk-for-go 2023-04-04 09:09:43 +02:00
container containers: update tests 2023-04-17 18:30:41 +02:00
crypt Remove old build tag comments 2023-03-07 09:22:23 -08:00
disk internal/disk: Remove RequiredSizes property. 2023-03-20 11:04:14 +01:00
distro platform: add the aarch64_iot platform 2023-04-18 21:21:09 +02:00
distroregistry distro: add support for RHEL-8.9 and RHEL-9.3 2023-03-27 11:39:24 +02:00
dnfjson dnfjson: Cleanup old distro cache dirs 2023-03-23 11:26:40 +01:00
environment environment: encapsulate the environment images are deployed to 2022-07-07 12:00:56 +01:00
fdo New package: fdo 2022-12-11 12:37:37 +00:00
fsnode internal/fsnode: add API for custom directories and files 2023-02-22 12:17:36 +01:00
ignition ignition: drop embedded provisioning url 2023-02-07 13:30:22 +01:00
image simplified-installer: enable isolinux 2023-03-15 12:35:50 +01:00
jobqueue worker/server: requeue unresponsive jobs 2022-11-02 15:26:00 +01:00
jsondb Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
manifest iot: change the copy stages 2023-04-18 21:21:09 +02:00
mocks mocks/dnfjson: Add mock support for the search command 2022-08-23 22:47:46 +01:00
osbuild iot: change the copy stages 2023-04-18 21:21:09 +02:00
oscap oscap: add oscap package 2022-08-04 18:19:06 +02:00
ostree Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
pathpolicy distro: add dir / files customizations policy check 2023-02-22 12:17:36 +01:00
platform platform: add the aarch64_iot platform 2023-04-18 21:21:09 +02:00
prometheus prometheus:: add arch label to dequeue metrics 2023-03-09 18:47:57 +01:00
remotefile remotefile: Use io.ReadAll not ioutil.ReadAll 2023-03-22 08:14:01 -07:00
reporegistry reporegistry: remove unused ReposByArch() function 2022-03-09 23:22:06 +00:00
rhsm Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
rpmmd Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
runner runner: add platform-python only for RHEL 8+ 2023-01-25 20:37:12 +01:00
shell shell: new package for representing shell init configs internally 2023-03-30 18:40:12 +02:00
store distro: allow to return warnings in the Manifest function 2023-03-31 14:14:57 +02:00
target internal/target/azure_image: mark Location as optional 2022-10-27 19:33:43 +02:00
test Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
upload upload/azure: skip uploading empty pages 2023-04-04 09:09:43 +02:00
users users: convenience functions for converting from BP 2022-09-13 16:06:19 +01:00
weldr container: add ListDigest to the spec 2023-04-17 18:30:41 +02:00
worker container: add ListDigest to the spec 2023-04-17 18:30:41 +02:00
workload workload: introduce abstraction to encapsulate image workloads 2022-07-07 12:00:56 +01:00
tools.go Remove old build tag comments 2023-03-07 09:22:23 -08:00