- SKIPMIRRORCHECK=yes can disable the mirror check in build.sh
- Fix a bug that prevented udebs to be included.
This commit is contained in:
parent
c068335db7
commit
f39afce541
4
build.sh
4
build.sh
|
@ -10,12 +10,16 @@ fi
|
|||
|
||||
make distclean
|
||||
make ${CODENAME}_status
|
||||
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
|
||||
disks=`du -sm ${MIRROR}/dists/${CODENAME}/main/disks-${ARCH}/current/. | \
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue