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"
}
case $PROJECT:$SUBPROJECT in
ubuntu-cpc:*)
IMAGEFORMAT=ext4
;;
ubuntu-server:live)
IMAGEFORMAT=plain
;;
esac
if [ -z "${IMAGEFORMAT:-}" ]; then
case $PROJECT:$SUBPROJECT in
ubuntu-cpc:*)
IMAGEFORMAT=ext4
;;
ubuntu-server:live)
IMAGEFORMAT=plain
;;
esac
fi
case $IMAGEFORMAT in
ext2|ext3|ext4)

Loading…
Cancel
Save