mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Fixing checksum
This commit is contained in:
parent
b567ad21cc
commit
b7443d37b2
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -93,10 +93,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
zip -9 "arpl-${{ steps.build.outputs.VERSION }}.img.zip" arpl.img
|
zip -9 "arpl-${{ steps.build.outputs.VERSION }}.img.zip" arpl.img
|
||||||
zip -9 "arpl-${{ steps.build.outputs.VERSION }}.vmdk.zip" arpl*.vmdk
|
zip -9 "arpl-${{ steps.build.outputs.VERSION }}.vmdk.zip" arpl*.vmdk
|
||||||
sha256sum .buildroot/output/images/bzImage .buildroot/output/images/rootfs.cpio.xz \
|
(cd .buildroot/output/images && sha256sum bzImage rootfs.cpio.xz) >> sha256sum
|
||||||
"arpl-${{ steps.build.outputs.VERSION }}.img.zip" "arpl-${{ steps.build.outputs.VERSION }}.vmdk.zip" \
|
sha256sum "arpl-${{ steps.build.outputs.VERSION }}.img.zip" >> sha256sum
|
||||||
> sha256sum
|
sha256sum "arpl-${{ steps.build.outputs.VERSION }}.vmdk.zip" >> sha256sum
|
||||||
|
|
||||||
|
|
||||||
# Upload artifact
|
# Upload artifact
|
||||||
- name: Upload
|
- name: Upload
|
||||||
@ -106,6 +105,7 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
arpl.img
|
arpl.img
|
||||||
arpl*.vmdk
|
arpl*.vmdk
|
||||||
|
sha256sum
|
||||||
retention-days: 5
|
retention-days: 5
|
||||||
|
|
||||||
# Publish a release if is a tag
|
# Publish a release if is a tag
|
||||||
|
@ -818,7 +818,7 @@ function updateMenu() {
|
|||||||
fi
|
fi
|
||||||
dialog --backtitle "`backtitle`" --title "Update arpl" --aspect 18 \
|
dialog --backtitle "`backtitle`" --title "Update arpl" --aspect 18 \
|
||||||
--infobox "Installing new files" 0 0
|
--infobox "Installing new files" 0 0
|
||||||
(cd /tmp && sha256sum -c sha256sum)
|
(cd /tmp && sha256sum --status -c sha256sum)
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
dialog --backtitle "`backtitle`" --title "Update arpl" --aspect 18 \
|
dialog --backtitle "`backtitle`" --title "Update arpl" --aspect 18 \
|
||||||
--msgbox "Checksum do not match!" 0 0
|
--msgbox "Checksum do not match!" 0 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user