Merge "debian: Remove gecos field when adding user"

This commit is contained in:
Zuul 2021-12-08 15:53:42 +00:00 committed by Gerrit Code Review
commit 5495664b8c
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,28 @@
From 4b27111fbe6b626d08e212eb48693a228da203bc Mon Sep 17 00:00:00 2001
From: Charles Short <charles.short@windriver.com>
Date: Tue, 7 Dec 2021 18:49:39 +0000
Subject: [PATCH] Do not set gecos when creating user
Remove the gecos creation since it causes issue while running
debootstrap.
Signed-off-by: Charles Short <charles.short@windriver.com>
---
debian/docker-registry.postinst | 1 -
1 file changed, 1 deletion(-)
diff --git a/debian/docker-registry.postinst b/debian/docker-registry.postinst
index 96ded3c..13df951 100755
--- a/debian/docker-registry.postinst
+++ b/debian/docker-registry.postinst
@@ -7,7 +7,6 @@ if [ "$1" = 'configure' ]; then
--home /var/lib/docker-registry \
--no-create-home \
--group \
- --gecos 'Docker Registry' \
docker-registry
fi
--
2.30.2

View File

@ -1 +1,2 @@
0001-update-paths-and-service.patch
0002-no-gecos.patch