* Update the "Components" field of Release file.

* Update the task file with sid-generated content
This commit is contained in:
Raphaël Hertzog 2001-09-09 19:11:21 +00:00
parent 0176770138
commit b20b2a36b6
3 changed files with 9 additions and 1 deletions

2
debian/changelog vendored
View File

@ -3,6 +3,8 @@ debian-cd (2.2.8) unstable; urgency=low
* UNRELEASED.
* Be less restrictive on non-US section name (ie accepts non-us too).
* Add support for ia64 (Richard Hirst). Closes #110553.
* Update the "Components" field of the Release files. Was
causing a bug in debootstrap.
-- Raphael Hertzog <hertzog@debian.org> Sun, 19 Aug 2001 13:42:27 +0200

View File

@ -83,6 +83,7 @@ python-bobo
python-bobopos
python-dev
python-doc
pythondoc
python-examples
python-extclass
python-gdbm
@ -108,7 +109,6 @@ python-pam
python-pmw
python-tk
python-xml
pythondoc
qpopper
rxvt-ml
samba

View File

@ -24,8 +24,10 @@ NUM=${PREFIX##$BDIR/}
NUM=`echo $NUM | sed 's/_NONUS//g'`
if [ -n "$NONFREE" -o -n "$EXTRANONFREE" ]; then
SECTIONS="main contrib non-free"
SECTIONSNONUS="non-US/main non-US/contrib non-US/non-free"
else
SECTIONS="main contrib"
SECTIONSNONUS="non-US/main non-US/contrib"
fi
cd "$2"
@ -34,8 +36,10 @@ if [ "$1" = "install" ]; then
if [ -e "$MIRROR/dists/$CODENAME/Release" ]; then
# Strip the MD5Sum and SHA1 fields
# Update some other information as well
sed -e "s/^Architectures: .*$/Architectures: $ARCH/" \
$MIRROR/dists/$CODENAME/Release | \
sed -e "s/^Components: .*$/Components: $SECTIONS/" | \
perl -ne 'if (/^(MD5Sum|SHA1):/i) { $f=1; next }
if ($f) {
unless (/^ /) { print; $f=0 }
@ -43,8 +47,10 @@ if [ -e "$MIRROR/dists/$CODENAME/Release" ]; then
fi
if [ -n "$NONUS" -a -e "$NONUS/dists/$CODENAME/non-US/Release" ]; then
# Strip the MD5Sum and SHA1 fields
# Update some other information as well
sed -e "/^ /d" -e "s/^Architectures: .*$/Architectures: $ARCH/" \
$NONUS/dists/$CODENAME/non-US/Release | \
sed -e "s/^Components: .*$/Components: $SECTIONSNONUS/" | \
perl -ne 'if (/^(MD5Sum|SHA1):/i) { $f=1; next }
if ($f) {
unless (/^ /) { print; $f=0 }