riscv: Fix nezha hardcoded password attempt

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
default-compat
Alexandre Ghiti 3 years ago
parent f751ff7218
commit be54b8b7a1

@ -353,6 +353,7 @@ fi
if [ "$IMAGEFORMAT" = "ext4" ] && [ "$PROJECT" = "ubuntu-cpc" ]; then if [ "$IMAGEFORMAT" = "ext4" ] && [ "$PROJECT" = "ubuntu-cpc" ]; then
case $ARCH:$SUBARCH in case $ARCH:$SUBARCH in
armhf:raspi2|riscv64:sifive_*|*:generic) armhf:raspi2|riscv64:sifive_*|*:generic)
armhf:raspi2|riscv64:sifive_*|riscv64:nezha|*:generic)
IMAGE_HAS_HARDCODED_PASSWORD=1 IMAGE_HAS_HARDCODED_PASSWORD=1
if [ -z "${IMAGE_TARGETS:-}" ]; then if [ -z "${IMAGE_TARGETS:-}" ]; then
export IMAGE_TARGETS="disk1-img-xz" export IMAGE_TARGETS="disk1-img-xz"

Loading…
Cancel
Save