- SKIPMIRRORCHECK=yes can disable the mirror check in build.sh

- Fix a bug that prevented udebs to be included.
This commit is contained in:
Raphaël Hertzog 2003-01-19 15:00:40 +00:00
parent c068335db7
commit f39afce541
2 changed files with 10 additions and 6 deletions

View File

@ -10,11 +10,15 @@ fi
make distclean
make ${CODENAME}_status
echo " ... checking your mirror"
make mirrorcheck
if [ $? -gt 0 ]; then
echo "ERROR: Your mirror has a problem, please correct it." >&2
exit 1
if [ "$SKIPMIRRORCHECK" = "yes" ]; then
echo " ... WARNING: skipping mirror check"
else
echo " ... checking your mirror"
make mirrorcheck
if [ $? -gt 0 ]; then
echo "ERROR: Your mirror has a problem, please correct it." >&2
exit 1
fi
fi
echo " ... selecting packages to include"
if [ -e ${MIRROR}/dists/${CODENAME}/main/disks-${ARCH}/current/. ] ; then

View File

@ -196,7 +196,7 @@ while (defined($_=<LIST>)) {
# nevertheless ... this may be removed once the udebs have a
# better depencency system
if ($packages{$_}{"IsUdeb"}) {
add_to_cd($cd, $packages{$_}{"Size"}, []);
add_to_cd($cd, $packages{$_}{"Size"}, [$_]);
} else {
add_package ($_, ! $norecommends, ! $nosuggests);
}