subdir for archs

This commit is contained in:
Ben Collins 2000-06-14 04:54:52 +00:00
parent 23f29cc9ba
commit 7a02a8d9f8
3 changed files with 14 additions and 4 deletions

View File

@ -596,7 +596,7 @@ src-images: ok src-md5list $(OUT)
# Generate the *.list files for the Pseudo Image Kit
pi-makelist:
@for file in $(OUT)/$(CODENAME)-*.raw; do \
@cd $(OUT); for file in `find * -name \*.raw`; do \
$(BASEDIR)/tools/pi-makelist \
$$file > $${file%%.raw}.list; \
done
@ -621,7 +621,7 @@ src-image: ok src-md5list $(OUT)
#Calculate the md5sums for the images
imagesums:
@cd $(OUT); :> MD5SUMS; for file in *.raw; do \
@cd $(OUT); :> MD5SUMS; for file in `find * -name \*.raw`; do \
md5sum $$file >>MD5SUMS; \
done

View File

@ -4,7 +4,9 @@
. CONF.sh
for ARCH in i386 m68k alpha sparc powerpc
TMP_OUT=$OUT
for ARCH in i386 m68k alpha sparc powerpc arm
do
export ARCH
echo "Now we're going to build CD for $ARCH !"
@ -33,8 +35,13 @@ do
make list COMPLETE=1 $SIZE_ARGS SRCSIZELIMIT=$((635 * 1024 * 1024))
echo " ... building the images"
if [ "$ARCH" = "i386" ]; then
make official_images
export OUT="$TMP_OUT/$ARCH"; mkdir -p $OUT
make bin-official_images
export OUT="$TMP_OUT/src"; mkdir -p $OUT
make src-official_images
else
export OUT=$TMP_OUT/$ARCH; mkdir -p $OUT
make bin-official_images
if [ $? -gt 0 ]; then
echo "ERROR WHILE BUILDING OFFICIAL IMAGES !!" >&2
@ -48,3 +55,4 @@ do
done
make imagesums
make pi-makelist

2
debian/changelog vendored
View File

@ -12,6 +12,8 @@ debian-cd (2.2.1) frozen unstable; urgency=low
* Added extra file to help fine tune the CD sizes per archs
* Edited boot-alpha to work (I hope) based on what was available in the
README.txt in boot-floppies
* Modified build_all.sh so that it puts each arch under a subdir and
modified imagesums/pi-makelist to support the subdirs
-- Raphael Hertzog <hertzog@debian.org> Sat, 20 May 2000 23:42:58 +0200