From ae5009178be46989770b96434dcd4393cdbd3ecb Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Fri, 26 Jan 2024 19:59:43 +0100 Subject: [PATCH] build: update more Signed-off-by: AuxXxilium --- img-gen.sh | 6 +++--- scripts/func.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/img-gen.sh b/img-gen.sh index ed60485..2deb2fd 100755 --- a/img-gen.sh +++ b/img-gen.sh @@ -16,7 +16,7 @@ getModules "files/p3/modules" getConfigs "files/p3/configs" getPatches "files/p3/patches" -IMAGE_FILE="arc.img" +IMAGE_FILE="arc-v.img" gzip -dc "files/grub.img.gz" >"${IMAGE_FILE}" fdisk -l "${IMAGE_FILE}" @@ -61,5 +61,5 @@ rmdir "/tmp/p3" sudo losetup --detach ${LOOPX} -qemu-img convert -O vmdk arc.img arc-dyn.vmdk -qemu-img convert -O vmdk -o adapter_type=lsilogic arc.img -o subformat=monolithicFlat arc.vmdk \ No newline at end of file +qemu-img convert -O vmdk arc-v.img arc-v-dyn.vmdk +qemu-img convert -O vmdk -o adapter_type=lsilogic arc-v.img -o subformat=monolithicFlat arc-v.vmdk \ No newline at end of file diff --git a/scripts/func.sh b/scripts/func.sh index 14df936..8516a07 100755 --- a/scripts/func.sh +++ b/scripts/func.sh @@ -184,16 +184,16 @@ function getBuildroot() { local DEST_PATH="${2:-br}" if [ "${1}" = "latest" ]; then - TAG=$(curl -s "https://api.github.com/repos/AuxXxilium/arc-buildroot/releases" | jq -r ".[0].tag_name") + TAG=$(curl -s "https://api.github.com/repos/AuxXxilium/arc-v-buildroot/releases" | jq -r ".[0].tag_name") fi [ ! -d "${DEST_PATH}" ] && mkdir -p "${DEST_PATH}" rm -rf "${DEST_PATH}/bzImage-arc" - STATUS=$(curl -w "%{http_code}" -L "https://github.com/AuxXxilium/arc-buildroot/releases/download/${TAG}/bzImage" -o "${DEST_PATH}/bzImage-arc") + STATUS=$(curl -w "%{http_code}" -L "https://github.com/AuxXxilium/arc-v-buildroot/releases/download/${TAG}/bzImage" -o "${DEST_PATH}/bzImage-arc") echo "TAG=${TAG}; Status=${STATUS}" [ ${STATUS} -ne 200 ] && exit 1 rm -rf "${DEST_PATH}/initrd-arc" - STATUS=$(curl -w "%{http_code}" -L "https://github.com/AuxXxilium/arc-buildroot/releases/download/${TAG}/rootfs.cpio.xz" -o "${DEST_PATH}/initrd-arc") + STATUS=$(curl -w "%{http_code}" -L "https://github.com/AuxXxilium/arc-v-buildroot/releases/download/${TAG}/rootfs.cpio.xz" -o "${DEST_PATH}/initrd-arc") echo "TAG=${TAG}; Status=${STATUS}" [ ${STATUS} -ne 200 ] && exit 1