For the IMAGEFORMAT=none parts to work for ubuntu-image classic builds, we need to make sure IMAGEFORMAT is preserved and not overwritten if defined. Backporting from trunk.

ubuntu/zesty
Łukasz 'sil2100' Zemczak 7 years ago
parent e7935db365
commit bab506b825

@ -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
ubuntu-cpc:*) case $PROJECT:$SUBPROJECT in
IMAGEFORMAT=ext4 ubuntu-cpc:*)
;; IMAGEFORMAT=ext4
ubuntu-server:live) ;;
IMAGEFORMAT=plain ubuntu-server:live)
;; IMAGEFORMAT=plain
esac ;;
esac
fi
case $IMAGEFORMAT in case $IMAGEFORMAT in
ext2|ext3|ext4) ext2|ext3|ext4)

Loading…
Cancel
Save