build: fix

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-07-26 20:12:56 +02:00
parent 89746196ee
commit ae7318a883
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ if grep -q "automated_arc" /proc/cmdline; then
else
writeConfigKey "automated" "false" "${USER_CONFIG_FILE}"
fi
[[ echo "${ARC_VERSION}" | grep -q "s" ]] && writeConfigKey "arc.branch" "s" "${USER_CONFIG_FILE}" || writeConfigKey "arc.branch" "x" "${USER_CONFIG_FILE}"
[ $(echo "${ARC_VERSION}" | grep -q "s" | wc -l) -gt 0 ] && writeConfigKey "arc.branch" "s" "${USER_CONFIG_FILE}" || writeConfigKey "arc.branch" "x" "${USER_CONFIG_FILE}"
[ -f "${PART3_PATH}/automated" ] && rm -f "${PART3_PATH}/automated" >/dev/null
# Check for compatibility
compatboot

View File

@ -63,7 +63,7 @@ qemu-img convert ${IMAGE_FILE} -O vmdk -o adapter_type=lsilogic,subformat=monoli
qemu-img convert ${IMAGE_FILE} -O vhdx -o subformat=dynamic arc-x.vhdx
# Sbase
IMAGE_FILE="arc.img"
IMAGE_FILE="arc-s.img"
gzip -dc "files/initrd/opt/arc/grub.img.gz" >"${IMAGE_FILE}"
fdisk -l "${IMAGE_FILE}"