From 5dca557bfcdbffd99b666340023afafba258b383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Tue, 6 Aug 2024 12:20:13 +0200 Subject: [PATCH] scripts/entrypoint.sh: Fix ioncorrect variable name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To set the GROUP_ID for the coreboot user one has to pass two variables to docker environment: GROUP and GROUP_ID. Most likely it was a copy-pasta error, which can be fixed by using GROUP_ID in the IF condition. Signed-off-by: Michał Żygowski --- scripts/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index b85af8a..5656a44 100644 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -3,7 +3,7 @@ if [[ -v USER_ID ]]; then usermod -u $USER_ID coreboot fi -if [[ -v GROUP ]]; then +if [[ -v GROUP_ID ]]; then groupmod -g $GROUP_ID coreboot fi