|
|
@ -16,11 +16,17 @@ if [ -z "${PROJECT:-}" ]; then
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
|
|
|
|
if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
|
|
|
|
|
|
|
|
if [ "${IMAGETYPE:-}" = "classic" ]; then
|
|
|
|
|
|
|
|
# Use ubuntu-image instead of live-build
|
|
|
|
|
|
|
|
OPTS="${PROJECT:+--project=$PROJECT} ${SUITE:+--suite=$SUITE} ${ARCH:+--arch=$ARCH} ${SUBPROJECT:+--subproject=$SUBPROJECT} ${SUBARCH:+--subarch=$SUBARCH} ${PROPOSED:+--with-proposed=$PROPOSED} ${IMAGEFORMAT:+--image-format=$IMAGEFORMAT} ${EXTRA_PPAS:+--extra-ppas=$EXTRA_PPAS}"
|
|
|
|
|
|
|
|
ubuntu-image classic $OPTS gadget_tree
|
|
|
|
|
|
|
|
else
|
|
|
|
# Use ubuntu-image instead of live-build
|
|
|
|
# Use ubuntu-image instead of live-build
|
|
|
|
env SNAPPY_STORE_NO_CDN=1 \
|
|
|
|
env SNAPPY_STORE_NO_CDN=1 \
|
|
|
|
ubuntu-image -c edge \
|
|
|
|
ubuntu-image snap -c edge \
|
|
|
|
-o livecd."$PROJECT".img livecd."$PROJECT".model-assertion
|
|
|
|
-o livecd."$PROJECT".img livecd."$PROJECT".model-assertion
|
|
|
|
xz -0 -T4 livecd."$PROJECT".img
|
|
|
|
xz -0 -T4 livecd."$PROJECT".img
|
|
|
|
|
|
|
|
fi
|
|
|
|
exit 0
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|