"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:
parent
141d6ef4d4
commit
527f138146
|
@ -11,7 +11,7 @@
|
|||
# burn - burns the image on a cd-rw
|
||||
#
|
||||
# final action:
|
||||
# release - the same as "dfsbuild config harden iso"
|
||||
# release - the same as "dfsbuild config harden isoz"
|
||||
#
|
||||
#
|
||||
# problems of this script:
|
||||
|
@ -19,7 +19,7 @@
|
|||
# - 'harden' is strangely integrated
|
||||
#
|
||||
# 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 :)
|
||||
# (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 ..."
|
||||
mkisofs $MKISOFS_OPTIONS -o "$IMAGE_FILE" "$IMAGE_DIR"
|
||||
|
@ -125,7 +125,7 @@ function fetch_revision()
|
|||
function blanknburn_cdrw()
|
||||
{
|
||||
cdrecord -v dev=$CDWRITER blank=fast
|
||||
cdrecord -v dev=$CDWRITER $IMAGE_FILE
|
||||
cdrecord -v dev=$CDWRITER $IMAGEZ_FILE
|
||||
}
|
||||
################ do it! ######################
|
||||
|
||||
|
@ -151,7 +151,7 @@ while [ $# -gt 0 ]
|
|||
configure_cb normal
|
||||
;;
|
||||
iso )
|
||||
create_iso
|
||||
create_uncompressed_iso
|
||||
;;
|
||||
isoz )
|
||||
create_compressed_iso
|
||||
|
@ -163,7 +163,7 @@ while [ $# -gt 0 ]
|
|||
blanknburn_cdrw
|
||||
;;
|
||||
release )
|
||||
$0 dfsbuild config harden iso
|
||||
$0 dfsbuild config harden isoz
|
||||
;;
|
||||
help|--help )
|
||||
echo "Syntax: `basename $0` ( release | dfsbuild | config | harden | iso | isoz | burn | help )"
|
||||
|
|
Loading…
Reference in a new issue