diff options
-rwxr-xr-x | adelie-build-cd | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/adelie-build-cd b/adelie-build-cd index 1c6aa91..0bf4744 100755 --- a/adelie-build-cd +++ b/adelie-build-cd @@ -63,9 +63,10 @@ ensure_commands() { usage() { - printf 'usage: %s [-a ARCH] [-f|--full] [-p|--phase PHASE] [--help]\n\n' $PROGNAME - printf 'Create an Adélie Linux CD image (.ISO) using the specified parameters.\n' + printf 'usage: %s [-a ARCH] [-f|--full] [-p|--phase PHASE] [-v VERSION] [--help]\n\n' $PROGNAME + printf 'Create an Adélie Linux CD image (.ISO) using the specified parameters.\n\n' printf 'Default ARCH: %s\n' $def_arch + printf 'Default VERSION: %s\n' $def_ver printf 'Valid phases: clean install initrd iso all\n' } @@ -307,7 +308,8 @@ create_iso() { CD_VERSION=${CD_VERSION/-alpha/a} CD_VERSION=${CD_VERSION/-beta/b} CD_VERSION=${CD_VERSION/-rc/rc} - xorriso -as mkisofs -o adelie-${DO_FULL:-live}-$ARCH-$VERSION-$(date +%Y%m%d).iso -joliet -rational-rock -V "Adelie $CD_VERSION $ARCH" ${CD_PARAMS} cdroot-$ARCH + mkdir -p out + xorriso -as mkisofs -o out/adelie-${DO_FULL:-live}-$ARCH-$VERSION-$(date +%Y%m%d).iso -joliet -rational-rock -V "Adelie $CD_VERSION $ARCH" ${CD_PARAMS} cdroot-$ARCH } case $PHASE in |