From a3b0ba495360ac94ef72482e971bfa5c704825a7 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 3442cd02..9018ceb6 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 12 \ /usr/bin/unshare --uts -- \ /usr/sbin/pbuilder --build \ --configfile $TMPCFG \ diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 433b2976..9c93d3cf 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 "niceness1012" write_page "uiduid=1111uid=2222" write_page "gidgid=1111gid=2222" write_page "/bin/sh/bin/dash/bin/bash" -- cgit v1.2.3-54-g00ecf