From 8c115fb094539ca8f77d5d52865fa1e6158f1dc0 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 26 May 2017 23:27:53 +0200 Subject: reproducible Debian: add niceness variation (Closes: #863440) Signed-off-by: Holger Levsen --- bin/reproducible_build.sh | 2 +- bin/reproducible_common.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index bce93b2b..928580f6 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -701,7 +701,7 @@ EOF # remember to change the sudoers setting if you change the following command # (the 2nd build gets a longer timeout trying to make sure the first build # aint wasted when then 2nd happens on a highly loaded node) - sudo timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice \ + sudo timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 \ /usr/bin/unshare --uts -- \ /usr/sbin/pbuilder --build \ --configfile $TMPCFG \ diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 2405aafa..7f0f4445 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -404,6 +404,7 @@ write_variation_table() { write_page "env BUILDUSERNAMEBUILDUSERNAME=\"pbuilder1\"BUILDUSERNAME=\"pbuilder2\"" write_page "env USERUSER=\"pbuilder1\"USER=\"pbuilder2\"" write_page "env HOMEHOME=\"/nonexistent/first-build\"HOME=\"/nonexistent/second-build\"" + write_page "niceness1011" write_page "uiduid=1111uid=2222" write_page "gidgid=1111gid=2222" write_page "/bin/sh/bin/dash/bin/bash" -- cgit v1.2.3-70-g09d2