[Reproducible-commits] [misc] 01/01: prebuilder: fix UID/GID mixup in pbuilder hook

Stéphane Glondu glondu at moszumanska.debian.org
Wed Aug 26 14:52:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

glondu pushed a commit to branch master
in repository misc.

commit 87bc5151fd83773069a7bdd2d246c48e0efe284c
Author: Stephane Glondu <steph at glondu.net>
Date:   Wed Aug 26 16:33:51 2015 +0200

    prebuilder: fix UID/GID mixup in pbuilder hook
---
 prebuilder/pbuilderhooks/A02_user | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/prebuilder/pbuilderhooks/A02_user b/prebuilder/pbuilderhooks/A02_user
index 7827ac4..bd81617 100755
--- a/prebuilder/pbuilderhooks/A02_user
+++ b/prebuilder/pbuilderhooks/A02_user
@@ -7,8 +7,8 @@ echo "I: adding another test user for reproducibility"
 NEWUID=$(($(id -u pbuilder) + 1))
 NEWGID=$(($(id -g pbuilder) + 1))
 
-groupadd -g "$NEWUID" -o another-group
-useradd -g another-group -u "$NEWGID" -d /tmp/buildd -o another-user
+groupadd -g "$NEWGID" -o another-group
+useradd -g another-group -u "$NEWUID" -d /tmp/buildd -o another-user
 chown -R "$NEWUID:$NEWGID" /tmp/buildd
 
 apt-get install sudo

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list