index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-10-19 23:08:34 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-10-19 23:08:34 -0500 |
commit | eb6693901d70ad0635f544d5b9b7b91c8feab064 (patch) | |
tree | 38bafb7abd01184419a11aaad4b65da31fd979ee | |
parent | bba27fbe4a1616f60c82a9f0d8e12cba11576086 (diff) |
-rwxr-xr-x | archiso/mkarchiso | 14 |
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index a13d805..2fcc361 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -23,7 +23,7 @@ usage () echo " commands:" echo " install <working dir> : install packages to the working dir" echo " squash <working dir> <sqfs name> : generate a squashfs image of the working dir" - echo " img <working dir> <image name> : build an image from the working dir" + echo " image <working dir> <image name> : build an image from the working dir" exit $1 } @@ -55,7 +55,7 @@ imgname="" case "${command_name}" in install) work_dir="${2}"; imgname="none" ;; squash) work_dir="${2}"; imgname="${3}" ;; - img) work_dir="${2}"; imgname="${3}" ;; + image) work_dir="${2}"; imgname="${3}" ;; *) echo "invalid command name '${command_name}'"; usage 1 ;; esac @@ -173,7 +173,7 @@ command_squash () { echo "Image creation done in $minutes minutes." } -command_img () { +command_image () { echo "====> Making bootable image" if [ -e "${imgname}" ]; then if [ "${FORCE}" = "y" ]; then @@ -245,14 +245,14 @@ command_img () { # Go through the main commands in order. If 'all' was specified, then we want # to do everything. Start with 'install'. -if [ "${command_name}" = "install" -o "${command_name}" = "all" ]; then +if [ "${command_name}" = "install" ]; then command_install fi -if [ "${command_name}" = "squash" -o "${command_name}" = "all" ]; then +if [ "${command_name}" = "squash" ]; then command_squash fi -if [ "${command_name}" = "img" -o "${command_name}" = "all" ]; then - command_img +if [ "${command_name}" = "image" ]; then + command_image fi # vim:ts=4:sw=4:et: |