Allow overriding IMAGEFORMAT even for ubuntu-cpc and ubuntu-server

ubuntu/artful
Balint Reczey 8 years ago
parent 44f9dceeb4
commit f807c3703a

@ -104,14 +104,16 @@ add_binary_hook ()
BINARY_HOOKS="${BINARY_HOOKS:+$BINARY_HOOKS }$1" BINARY_HOOKS="${BINARY_HOOKS:+$BINARY_HOOKS }$1"
} }
case $PROJECT:$SUBPROJECT in if [ -z "${IMAGEFORMAT:-}" ]; then
case $PROJECT:$SUBPROJECT in
ubuntu-cpc:*) ubuntu-cpc:*)
IMAGEFORMAT=ext4 IMAGEFORMAT=ext4
;; ;;
ubuntu-server:live) ubuntu-server:live)
IMAGEFORMAT=plain IMAGEFORMAT=plain
;; ;;
esac esac
fi
case $IMAGEFORMAT in case $IMAGEFORMAT in
ext2|ext3|ext4) ext2|ext3|ext4)

Loading…
Cancel
Save