auto/config: seed ubuntu-desktop when building hyperv image

Regression introduced in 38157b37487d244b27af33f7863e6b15253c8f94 when
desktop-preinstalled code branch was added, it dropped addint
ubuntu-desktop task. Instead it added ubuntu-desktop-raspi task, only
for the raspi subarch, which depends on ubuntu-desktop. But the hyperv
case, now ended up without ubuntu-desktop task.

It looks like introduction of "desktop-preinstalled" assumed, that it
is for raspi only, when in fact that code path now started to be used
for hyperv gallery image too.

(cherry picked from commit 5d9af7f3c59ec6e47bfac1483064f25ffbd80e63)

LP: #1901846
This commit is contained in:
Dimitri John Ledkov 2020-10-27 20:26:50 +00:00
parent a3d6f34970
commit aeb9e39ec9
No known key found for this signature in database
GPG Key ID: 9B8EC849D5EF70ED

View File

@ -601,7 +601,7 @@ case $PROJECT in
;; ;;
desktop-preinstalled) desktop-preinstalled)
add_task install minimal standard add_task install minimal standard ubuntu-desktop
if [ "$SUBARCH" = "raspi" ]; then if [ "$SUBARCH" = "raspi" ]; then
add_task install ubuntu-desktop-raspi add_task install ubuntu-desktop-raspi
fi fi