sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to devel-flux cauldron by Justin Boffemmyer (a6823947fe010bb2103b8d48d4bbb85c1ee527ae)
- From: Justin Boffemmyer <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to devel-flux cauldron by Justin Boffemmyer (a6823947fe010bb2103b8d48d4bbb85c1ee527ae)
- Date: Fri, 4 Apr 2008 01:14:46 -0500
GIT changes to devel-flux cauldron by Justin Boffemmyer <flux AT sourcemage.org>:
src/libcauldron | 11 +++++++++++
1 files changed, 11 insertions(+)
New commits:
commit a6823947fe010bb2103b8d48d4bbb85c1ee527ae
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>
libcauldron: adding compression to cauldron_mkiso
cauldron_mkiso will now compress the .iso image automatically. If
passed a value of 1 as it's first arg, then it will run bzip2 with the
'-k' option (KEEP the original file).
diff --git a/src/libcauldron b/src/libcauldron
index 1670149..9ee9194 100755
--- a/src/libcauldron
+++ b/src/libcauldron
@@ -322,14 +322,25 @@ function cauldron_clean_iso_system() {
}
#---------------------------------------------------------------------
+## @param KEEP - whether or not to keep the original .iso file in addition to
+## the compressed .iso.bz2
##
## Builds the ISO filesystem using the generated ISO data and the filename
## set in the cauldron config file.
##
#---------------------------------------------------------------------
function cauldron_mkisofs() {
+ local KEEP=$1
+
mkisofs -R -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
-boot-load-size 4 -boot-info-table -o ${SMGL_ISO} ${CAULDRON_BUILD}
+
+ if [[ KEEP == "1" ]] ;
+ then
+ bzip2 -k ${SMGL_ISO}
+ else
+ bzip2 ${SMGL_ISO}
+ fi
}
#---------------------------------------------------------------------
- [SM-Commit] GIT changes to devel-flux cauldron by Justin Boffemmyer (a6823947fe010bb2103b8d48d4bbb85c1ee527ae), Justin Boffemmyer, 04/04/2008
Archive powered by MHonArc 2.6.24.