Author: arekm                        Date: Sat Oct  1 14:51:52 2005 GMT
Module: admin                         Tag: AC-branch
---- Log message:
- first iso needs to be smaller by size of rescuecd/ppcrct image

---- Files affected:
admin/ftp:
   geniso-poldek (1.15.2.2 -> 1.15.2.3) 

---- Diffs:

================================================================
Index: admin/ftp/geniso-poldek
diff -u admin/ftp/geniso-poldek:1.15.2.2 admin/ftp/geniso-poldek:1.15.2.3
--- admin/ftp/geniso-poldek:1.15.2.2    Sat Oct  1 16:44:50 2005
+++ admin/ftp/geniso-poldek     Sat Oct  1 16:51:47 2005
@@ -94,9 +94,15 @@
     CDROM_SIZE=650
     UTILS_SIZE=0
     case "${ARCH}" in
-       i?86|amd64|x86_64)
-               UTILS_SIZE=$(du -scmD $ROOT/dists/${DIST}/PLD/i386/PLD/dosutils 
| grep total  | xargs | cut -d" " -f1)
-               UTILS_SIZE=$(($UTILS_SIZE + 10))
+       i?86)
+               UTILS_SIZE_1=$(du -scmD 
$ROOT/dists/${DIST}/PLD/i386/PLD/dosutils | grep total  | xargs | cut -d" " -f1)
+               UTILS_SIZE_2=$(du -scmD ${ISOCD}/i486 | grep total  | xargs | 
cut -d" " -f1)
+               UTILS_SIZE=$(($UTILS_SIZE_1 + $UTILS_SIZE_2 + 10))
+       ;;
+       amd64|x86_64)
+               UTILS_SIZE_1=$(du -scmD 
$ROOT/dists/${DIST}/PLD/i386/PLD/dosutils | grep total  | xargs | cut -d" " -f1)
+               UTILS_SIZE_2=$(du -scmD ${ISOCD}/amd64 | grep total  | xargs | 
cut -d" " -f1)
+               UTILS_SIZE=$(($UTILS_SIZE_1 + $UTILS_SIZE_2 + 10))
        ;;
        ppc)
                MKISOFSOPT="$MKISOFSOPT -hfs"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/admin/ftp/geniso-poldek?r1=1.15.2.2&r2=1.15.2.3&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to