* Removed bashism.

* Updated documentation.
* Improved debian/rules to clean some CVS files.
This commit is contained in:
Raphaël Hertzog 2001-12-18 22:51:14 +00:00
parent a1daf080e5
commit 220413d16b
6 changed files with 18 additions and 14 deletions

7
README
View File

@ -101,7 +101,7 @@ The process of building a CD is decomposed as follow :
or
$ make list TASK=tasks/gnome COMPLETE=0 SIZELIMIT=576716800
or
$ export NONFREE=1; make list TASK=tasks/kde COMPLETE=1
$ export NONFREE=1; make list TASK=tasks/your-task-here COMPLETE=1
or for something like an official image for the USA (without non-US &
non-free) :
$ make list COMPLETE=1 SIZELIMIT1=576716800
@ -109,9 +109,8 @@ The process of building a CD is decomposed as follow :
You can change the behaviour of this command with the following
variables :
- if NONUS is set, then packages from non-US will be allowed (remember
that the value of NONUS must be the path to the non-US mirror
if you have one)
- if NONUS is set, then packages from non-US will be allowed (the value
of NONUS must be the path to the non-US mirror if you have one)
- if FORCENONUSONCD1 is set also, then packages will be
rearranged so that non-US packages are all on CD#1. This
includes the non-free ones if you specify NONFREE. Then 2 separate

4
debian/changelog vendored
View File

@ -1,6 +1,10 @@
debian-cd (2.2.11) unstable; urgency=low
* UNRELEASED.
* Changed "==" test by "=" test that works with ash also. Closes: #125727
* Corrected the rules files to remove the .#* files of CVS merges.
Closes: #125728
* Corrected the documentation. Closes: #125729
-- Raphael Hertzog <hertzog@debian.org> Sun, 16 Dec 2001 04:34:03 +0100

1
debian/rules vendored
View File

@ -42,6 +42,7 @@ install-stamp: build-stamp
ln -sf /etc/debian-cd/conf.sh \
debian/debian-cd/usr/share/debian-cd/CONF.sh
find debian/debian-cd -name 'CVS' | xargs -r rm -rf
find debian/debian-cd -name '.#*' | xargs -r rm -f
find debian/debian-cd/usr/share/debian-cd/tools/boot \
\( -name 'boot-*' -o -name 'post-boot-*' \) -a \! -name '*.txt' \
-a \! -name '*.calc' | xargs chmod 0755

View File

@ -29,12 +29,12 @@ cd $CDDIR/..
# Strip stupid NONUS sutff
#
if [ $N == "1_NONUS" ] || [ $N == "1" ] ; then NN=1 ; fi
if [ $N == "2_NONUS" ] || [ $N == "2" ] ; then NN=2 ; fi
if [ $N == "3_NONUS" ] || [ $N == "3" ] ; then NN=3 ; fi
if [ $N == "4_NONUS" ] || [ $N == "4" ] ; then NN=4 ; fi
if [ $N == "5_NONUS" ] || [ $N == "5" ] ; then NN=5 ; fi
if [ $N == "6_NONUS" ] || [ $N == "6" ] ; then NN=6 ; fi
if [ $N = "1_NONUS" ] || [ $N = "1" ] ; then NN=1 ; fi
if [ $N = "2_NONUS" ] || [ $N = "2" ] ; then NN=2 ; fi
if [ $N = "3_NONUS" ] || [ $N = "3" ] ; then NN=3 ; fi
if [ $N = "4_NONUS" ] || [ $N = "4" ] ; then NN=4 ; fi
if [ $N = "5_NONUS" ] || [ $N = "5" ] ; then NN=5 ; fi
if [ $N = "6_NONUS" ] || [ $N = "6" ] ; then NN=6 ; fi
# NN is now 1...N so it can be used as an index
# what kernel-type to put on what disk?
@ -61,7 +61,7 @@ echo -n "-J -b boot/rescue.bin -c boot/boot.catalog boot$N" > $N.mkisofs_opts
# Only disk one gets the extra files installed
#
if [ $N == "1" ] || [ $N == "1_NONUS" ] ; then
if [ $N = "1" ] || [ $N = "1_NONUS" ] ; then
# populate the install directory as well
(cd $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/ ; \

View File

@ -61,7 +61,7 @@ echo -n "-J -b boot/rescue.bin " > $N.mkisofs_opts
# Only disk one gets the extra files installed
#
if [ $N == "1" ] || [ $N == "1_NONUS" ] ; then
if [ $N = "1" ] || [ $N = "1_NONUS" ] ; then
@ -72,7 +72,7 @@ if [ $N == "1" ] || [ $N == "1_NONUS" ] ; then
# Setup all boot-disk images (currently 5)
if [ $MULTIBOOT == "yes" ] ; then
if [ $MULTIBOOT = "yes" ] ; then
echo "Adding additional boot images to CD1"
for i in 2 3 4 5 ; do

View File

@ -1,6 +1,6 @@
#! /bin/sh
if [ "$1" == "" ] ; then
if [ "$1" = "" ] ; then
echo ""
echo 'Usage: pi-makelist cdimage.iso > cdimage.list'
echo ""