subdir for archs
This commit is contained in:
parent
23f29cc9ba
commit
7a02a8d9f8
4
Makefile
4
Makefile
|
@ -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
|
||||
|
||||
|
|
12
build_all.sh
12
build_all.sh
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue