From f39afce5419ce85d0ef3bb9d8bc5b9dab2f4b5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Sun, 19 Jan 2003 15:00:40 +0000 Subject: [PATCH] - SKIPMIRRORCHECK=yes can disable the mirror check in build.sh - Fix a bug that prevented udebs to be included. --- build.sh | 14 +++++++++----- tools/list2cds | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index 40b250e5..65f5e3d3 100755 --- a/build.sh +++ b/build.sh @@ -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 diff --git a/tools/list2cds b/tools/list2cds index f8f72eb9..7c6e8264 100755 --- a/tools/list2cds +++ b/tools/list2cds @@ -196,7 +196,7 @@ while (defined($_=)) { # 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); }