From a8af6ce59eeae840a13f42990a38a7bf7ded95eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Tue, 23 Apr 2024 15:22:36 +0100 Subject: [PATCH] Rename the milk-v-mars SUBARCH to milkvmars --- debian/changelog | 6 ++++++ live-build/auto/config | 4 ++-- .../hooks.d/base/disk-image-uefi-non-cloud.binary | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 53c19d8e..ad7f3415 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (24.04.68) UNRELEASED; urgency=medium + + * Rename the milk-v-mars SUBARCH to milkvmars. + + -- Ɓukasz 'sil2100' Zemczak Tue, 23 Apr 2024 15:20:56 +0100 + livecd-rootfs (24.04.67) noble; urgency=medium [ Julian Andres Klode ] diff --git a/live-build/auto/config b/live-build/auto/config index a229f393..e87be6cd 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -9,7 +9,7 @@ case $ARCH:$SUBARCH in i386:|\ ppc64el:|\ riscv64:|riscv64:generic|riscv64:icicle|riscv64:licheerv|\ - riscv64:milk-v-mars|riscv64:nezha|riscv64:unmatched|riscv64:visionfive|\ + riscv64:milkvmars|riscv64:nezha|riscv64:unmatched|riscv64:visionfive|\ riscv64:visionfive2|\ s390x:|\ *appliance*) @@ -394,7 +394,7 @@ if [ "$IMAGEFORMAT" = "ext4" ] && [ "$PROJECT" = "ubuntu-cpc" ]; then case $ARCH:$SUBARCH in riscv64:icicle | \ riscv64:licheerv | \ - riscv64:milk-v-mars | \ + riscv64:milkvmars | \ riscv64:nezha | \ riscv64:unmatched | \ riscv64:visionfive | \ diff --git a/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binary b/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binary index d86fd830..8ea2128f 100755 --- a/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binary +++ b/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binary @@ -132,7 +132,7 @@ create_partitions() { --change-name=3:uEnv \ --new=1:: \ --attributes=1:set:2 - elif [ "${SUBARCH:-}" = "visionfive2" ] || [ "${SUBARCH:-}" = "milk-v-mars" ]; then + elif [ "${SUBARCH:-}" = "visionfive2" ] || [ "${SUBARCH:-}" = "milkvmars" ]; then # VisionFive 2, Milk-V Mars sgdisk "${disk_image}" \ --set-alignment=4096 \ @@ -285,7 +285,7 @@ install_grub() { loader="${loop_device}p13" dd if=mountpoint/usr/lib/u-boot/microchip_icicle/u-boot.payload of=$loader ;; - "milk-v-mars") + "milkvmars") cp ${my_d}/riscv64/grub/90_watchdog-thresh.cfg mountpoint/etc/default/grub.d/ # flash-kernel is needed to install the dtb for update-grub: it uses the # /proc/device-tree/model value to pick the correct dtb and as we are in a chroot,