reproducible debian: also allow network access to src:d-i-n-i

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 45532738
...@@ -587,7 +587,7 @@ EOF ...@@ -587,7 +587,7 @@ EOF
else else
echo "BUILDDIR=/build" >> "$TMPCFG" echo "BUILDDIR=/build" >> "$TMPCFG"
fi fi
if [ "$SRCPACKAGE" = "debian-installer" ]; then if [ "$SRCPACKAGE" = "debian-installer" -o "$SRCPACKAGE" = "debian-installer-netboot-images" ] ; then
# d-i needs to access to a debian-archive. this is not possible in # d-i needs to access to a debian-archive. this is not possible in
# pbuilder, so grant complete network access to it. # pbuilder, so grant complete network access to it.
echo "USENETWORK=yes" >> "$TMPCFG" echo "USENETWORK=yes" >> "$TMPCFG"
...@@ -662,7 +662,7 @@ EOF ...@@ -662,7 +662,7 @@ EOF
else else
echo "BUILDDIR=/build" >> "$TMPCFG" echo "BUILDDIR=/build" >> "$TMPCFG"
fi fi
if [ "$SRCPACKAGE" = "debian-installer" ]; then if [ "$SRCPACKAGE" = "debian-installer" -o "$SRCPACKAGE" = "debian-installer-netboot-images" ] ; then
# d-i needs to access to a debian-archive. this is not possible in # d-i needs to access to a debian-archive. this is not possible in
# pbuilder, so grant complete network access to it. # pbuilder, so grant complete network access to it.
echo "USENETWORK=yes" >> "$TMPCFG" echo "USENETWORK=yes" >> "$TMPCFG"
......
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