Fix the subarch used in the hook to identify images for sifive unmatched. LP: #2037060.

This commit is contained in:
Steve Langasek 2023-09-22 01:48:58 -07:00
parent ffb064925f
commit 16450169d9
2 changed files with 8 additions and 1 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
livecd-rootfs (23.10.44) UNRELEASED; urgency=medium
* Fix the subarch used in the hook to identify images for sifive
unmatched. LP: #2037060.
-- Steve Langasek <steve.langasek@ubuntu.com> Fri, 22 Sep 2023 01:48:25 -0700
livecd-rootfs (23.10.43) mantic; urgency=medium
* The unminimize script should install the lxd snap from the per-release

View File

@ -355,7 +355,7 @@ EOF
# This explains why we install flash-kernel here.
chroot mountpoint bash -c "echo 'StarFive VisionFive 2 v1.3B' > /etc/flash-kernel/machine"
;;
"sifive_unmatched")
unmatched)
cp ${my_d}/riscv64/grub/90_watchdog-thresh.cfg mountpoint/etc/default/grub.d/
chroot mountpoint bash -c "echo 'SiFive HiFive Unmatched A00' > /etc/flash-kernel/machine"
chroot mountpoint apt-get install -qqy u-boot-sifive