* Fixed tools/potato/upgrade.sh for s/1/CD1/ change and include the upgrade

stuff on all CD1* ...
* Added some explication in README.
This commit is contained in:
Raphaël Hertzog 2000-06-19 22:25:24 +00:00
parent 7f195774e8
commit b84c867ffb
2 changed files with 9 additions and 2 deletions

4
README
View File

@ -42,6 +42,7 @@ For people that do not have time, here's the quick explanation :
Edit the CONF.sh and change the PATHs for the mirror and so on.
$ vim CONF.sh
$ . CONF.sh
$ make distclean
$ make status
$ make list COMPLETE=1 SIZELIMIT1=555000000 SRCSIZELIMIT=665000000
$ make official_images
@ -73,6 +74,9 @@ The process of building a CD is decomposed as follow :
tree. If you can't do this, you'll have to use the symlink farm.
The symlink farm is explained at the end of this README.
- let's clean everything that may still be there from previous runs :
$ make distclean
- now we'll check if your mirror is ok (with good Packages files) :
$ make mirrorcheck

View File

@ -9,8 +9,11 @@ for arch in i386 alpha sparc m68k
do
if [ "$ARCH" = "$arch" -a -d "$MIRROR/dists/$CODENAME/main/upgrade-$ARCH" ];
then
cp -a $MIRROR/dists/$CODENAME/main/upgrade-$ARCH $TDIR/$CODENAME-$ARCH/1/
mv $TDIR/$CODENAME-$ARCH/1/upgrade-$ARCH $TDIR/$CODENAME-$ARCH/1/upgrade
for dir in $TDIR/$CODENAME-$ARCH/CD1*
do
cp -a $MIRROR/dists/$CODENAME/main/upgrade-$ARCH $dir/
mv $dir/upgrade-$ARCH $dir/upgrade
done
fi
done