aboutsummaryrefslogtreecommitdiffstats
path: root/create_arm_image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'create_arm_image.sh')
-rwxr-xr-xcreate_arm_image.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/create_arm_image.sh b/create_arm_image.sh
index b46947a..a0d285c 100755
--- a/create_arm_image.sh
+++ b/create_arm_image.sh
@@ -75,7 +75,7 @@ fi
# parsing commandline
-TEMP=$(getopt -o h,a --long all,help,clean,create-chroot,prepare-chroot,jump-chroot,add-urpmimedia,create-image,config:,target:,target-version:,chroot,bootfs:,install-basesystem,update-mirror,build-path:,size:,nonfree,tainted -n ${CMDNAME} -- "${@}")
+TEMP=$(getopt -o h,a --long add-urpmimedia,add-checksum,all,help,clean,create-chroot,prepare-chroot,jump-chroot,create-image,config:,compress,target:,target-version:,chroot,bootfs:,install-basesystem,update-mirror,build-path:,size:,sign,nonfree,tainted -n ${CMDNAME} -- "${@}")
if [ ${?} -ne 0 ] ; then error "line ${LINENO} Failed parsing options." >&2 ; exit ${ERR_1} ; fi
eval set -- "${TEMP}"
@@ -88,6 +88,10 @@ while true; do
fi
shift
;;
+ --add-checksum)
+ GEN_CHECKSUM="true"
+ shift
+ ;;
-a|--all)
OPT="all"
shift 1
@@ -110,6 +114,10 @@ while true; do
OPT="clean"
shift
;;
+ --compress)
+ GEN_GZ="true"
+ shift
+ ;;
--config)
CONFIG_PATH="${PLATFORMS_PATH}/${2}"
shift 2
@@ -152,6 +160,10 @@ while true; do
fi
shift
;;
+ --sign)
+ GEN_SIGN="true"
+ shift
+ ;;
--size)
IMAGE_SIZE_P=${2}
shift 2