mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-12 03:41:12 +00:00
Do it even better.
This commit is contained in:
parent
61eae75d5e
commit
037c4e4ac6
@ -193,12 +193,10 @@ case $IMAGEFORMAT in
|
||||
armhf+imx6)
|
||||
MODEL=nitrogen6x ;;
|
||||
# Handle appliance images
|
||||
*+appliance_*)
|
||||
*+appliance-*)
|
||||
BRAND_ID="ubuntu"
|
||||
COMPOSED="${SUBARCH#appliance_}"
|
||||
APPLIANCE="${COMPOSED%_*}"
|
||||
DEVICE="${COMPOSED#*_}"
|
||||
MODEL="${APPLIANCE}-core18-${DEVICE}"
|
||||
MODEL="${SUBARCH#appliance-}"
|
||||
APPLIANCE=1
|
||||
;;
|
||||
*)
|
||||
echo "Model $ARCH+${SUBARCH:-} unknown to livecd-rootfs" >&2
|
||||
|
Loading…
x
Reference in New Issue
Block a user