mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 23:59:53 +07:00
arc: fix update loader
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
b58cfa5ae1
commit
6faa0a6632
@ -147,10 +147,10 @@ function updateLoader() {
|
||||
echo "Download successful!"
|
||||
unzip -oq "${TMP_PATH}/update.zip" -d "${TMP_PATH}"
|
||||
echo "Installing new Loader Image..."
|
||||
cp -f "${TMP_PATH}/grub.cfg" "${USER_GRUB_CONFIG}"
|
||||
cp -f "${TMP_PATH}/bzImage-arc" "${ARC_BZIMAGE_FILE}"
|
||||
cp -f "${TMP_PATH}/initrd-arc" "${ARC_RAMDISK_FILE}"
|
||||
rm -f "${TMP_PATH}/grub.cfg" "${TMP_PATH}/bzImage-arc" "${TMP_PATH}/initrd-arc"
|
||||
cp -f "${TMP_PATH}/files/p1/boot/boot/grub.cfg" "${USER_GRUB_CONFIG}"
|
||||
cp -f "${TMP_PATH}/files/p1/ARC-VERSION" "${PART1_PATH}/ARC-VERSION"
|
||||
cp -f "${TMP_PATH}/files/p3/bzImage-arc" "${ARC_BZIMAGE_FILE}"
|
||||
cp -f "${TMP_PATH}/files/p3/initrd-arc" "${ARC_RAMDISK_FILE}"
|
||||
rm -f "${TMP_PATH}/update.zip"
|
||||
else
|
||||
echo "Error getting new Version!"
|
||||
|
Loading…
Reference in New Issue
Block a user