"release" action now defaults to "dfsbuild config harden isoz" (instead of "iso")

"burn" action now refers to the compressed image
This commit is contained in:
lars 2005-10-04 12:15:20 +00:00
parent 141d6ef4d4
commit 527f138146

View file

@ -11,7 +11,7 @@
# burn - burns the image on a cd-rw # burn - burns the image on a cd-rw
# #
# final action: # final action:
# release - the same as "dfsbuild config harden iso" # release - the same as "dfsbuild config harden isoz"
# #
# #
# problems of this script: # problems of this script:
@ -19,7 +19,7 @@
# - 'harden' is strangely integrated # - 'harden' is strangely integrated
# #
# you may run this script with multiple arguments, e.g.: # you may run this script with multiple arguments, e.g.:
# cb-build.sh dfsbuild config iso # cb-build.sh dfsbuild config isoz
# #
# the action "release" does what it says :) # the action "release" does what it says :)
# (all developer's features like sshd, writable templates and # (all developer's features like sshd, writable templates and
@ -50,7 +50,7 @@ function run_dfsbuild()
} }
function create_iso() function create_uncompressed_iso()
{ {
echo "Creating the iso ..." echo "Creating the iso ..."
mkisofs $MKISOFS_OPTIONS -o "$IMAGE_FILE" "$IMAGE_DIR" mkisofs $MKISOFS_OPTIONS -o "$IMAGE_FILE" "$IMAGE_DIR"
@ -125,7 +125,7 @@ function fetch_revision()
function blanknburn_cdrw() function blanknburn_cdrw()
{ {
cdrecord -v dev=$CDWRITER blank=fast cdrecord -v dev=$CDWRITER blank=fast
cdrecord -v dev=$CDWRITER $IMAGE_FILE cdrecord -v dev=$CDWRITER $IMAGEZ_FILE
} }
################ do it! ###################### ################ do it! ######################
@ -151,7 +151,7 @@ while [ $# -gt 0 ]
configure_cb normal configure_cb normal
;; ;;
iso ) iso )
create_iso create_uncompressed_iso
;; ;;
isoz ) isoz )
create_compressed_iso create_compressed_iso
@ -163,7 +163,7 @@ while [ $# -gt 0 ]
blanknburn_cdrw blanknburn_cdrw
;; ;;
release ) release )
$0 dfsbuild config harden iso $0 dfsbuild config harden isoz
;; ;;
help|--help ) help|--help )
echo "Syntax: `basename $0` ( release | dfsbuild | config | harden | iso | isoz | burn | help )" echo "Syntax: `basename $0` ( release | dfsbuild | config | harden | iso | isoz | burn | help )"