Add '-live' to Live booting OS image file name

examples:
	ubuntu-20.04-server-odroidn2-20220408-live.img
	ubuntu-20.04-gnome-desktop-odroidn2-20220408-live.iso

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I077ae5f1cb485583b9df694be1754fcc1d76058e
This commit is contained in:
Dongjin Kim
2022-04-08 00:46:30 +09:00
parent 578d77eb91
commit 522eab98bb

View File

@@ -92,6 +92,11 @@ fi
[ "x${ISOIMAGE}" = "xtrue" ] && LIVESYSTEM=true
[ "x${IMAGE_FILE}" = "x" ] && IMAGE_FILE=$(image_file ${DISTRO} ${FLAVOUR} ${BOARD})
if [ "x${LIVESYSTEM}" = "xtrue" ]; then
IMAGE_FILE=${IMAGE_FILE}-live
fi
OUTFILE=${out_dir}/${IMAGE_FILE}
if [ ! -d ${TOPDIR}/distro/${DISTRO}/${FLAVOUR} ]; then