build: update more

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-01-26 19:59:43 +01:00
parent 6319bbc07f
commit ae5009178b
2 changed files with 6 additions and 6 deletions

View File

@ -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
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

View File

@ -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