Unverified Commit e3117ca2 authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

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

parent 9ddd1042
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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.
		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