reproducible debian: special case the d-i package as it has special needs (see #926242)

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 9ddd1042
......@@ -587,6 +587,11 @@ EOF
else
echo "BUILDDIR=/build" >> "$TMPCFG"
fi
if [ "$SRCPACKAGE" = "debian-installer" ]; then
# d-i needs to access to a debian-archive. this is not possible in
# pbuilder, so grant complete netowrk access to it.
Please register or sign in to reply
echo "USENETWORK=yes" >> "$TMPCFG"
fi
set +e
# remember to change the sudoers setting if you change the following command
sudo timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice \
......@@ -657,6 +662,11 @@ EOF
else
echo "BUILDDIR=/build" >> "$TMPCFG"
fi
if [ "$SRCPACKAGE" = "debian-installer" ]; then
# d-i needs to access to a debian-archive. this is not possible in
# pbuilder, so grant complete netowrk access to it.
echo "USENETWORK=yes" >> "$TMPCFG"
fi
local pbuilder_options=()
case "${SUITE}" in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment