Skip to content
View in the app

A better way to browse. Learn more.

Learn more

[Armbian build PR] - Fix ddbr to handle current lsblk output

Featured Replies

Description

ddbr was failing on a recent jammy build. The issue is that lsblk output has changed sometime since this script was written.
The logic to parse out the $runfrom drive was returning duplicate info, so instead of 'mmcblk0' the value was 'mmcblk0 mmcblk0' Having this duplicate value was causing an error further down the script. Fix is to add ' | sort | uniq' this was already being done on the other lsblk outputs, just not this one. I've run into this before, and I guess at that time, I forgot to submit a PR for the fix, or it was for a different script that had the same issue.

Changes to be committed: modified: packages/bsp/common/usr/sbin/ddbr

Jira reference number [AR-9999]

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • [x] Tested backup on board that was failing without this fix

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code

View the full article

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.