Name the manifest the way ubuntu-cdimage expects it for subarchs

ubuntu/cosmic
Steve Langasek 7 years ago
parent e96fa8b878
commit 696ae6e1eb

@ -15,6 +15,9 @@ if [ -z "${PROJECT:-}" ]; then
exit 1 exit 1
fi fi
# Link output files somewhere BuildLiveCD will be able to find them.
PREFIX="livecd.$PROJECT${SUBARCH:+-$SUBARCH}"
if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
# Use ubuntu-image instead of live-build # Use ubuntu-image instead of live-build
@ -33,7 +36,7 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
ubuntu-image -c edge $extra_args \ ubuntu-image -c edge $extra_args \
-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
mv seed.manifest livecd."$PROJECT".manifest mv seed.manifest "PREFIX".manifest
exit 0 exit 0
fi fi
@ -456,9 +459,6 @@ else
exit 1 exit 1
fi fi
# Link output files somewhere BuildLiveCD will be able to find them.
PREFIX="livecd.$PROJECT${SUBARCH:+-$SUBARCH}"
case $LB_INITRAMFS in case $LB_INITRAMFS in
casper) casper)
INITFS="casper" INITFS="casper"

Loading…
Cancel
Save