Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Checking SHASUM fails because of temporary path

Featured Replies

Dear Community,

 

This might only be with the NanoPI-r6c images, but the SHASUM contains a temporary path which you don't have an thus fails.

Since we cannot change the SHASUM because then the ASC would fail, I have a temporary workaround:

 

sed 's,/.*/,,' armbian.img.sha | sha256sum -c

 

 

In a script you could either

1. CD into the directory of the image
2. Run the SHASUM there
3. Use $OLDPWD to return

 

or correct the SHASUM inline:

sha256sum /path/to/file | sed 's,/.*/,,' > armbian.img.sha

 

Dantes

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.