Skip to content
View in the app

A better way to browse. Learn more.

Learn more

[Armbian build PR] - Call `losetup -f` to make sure loop device exists

Featured Replies

Description

  1. Added a call to losetup -f which would make sure that there is a loop device that exists and available for use. See #6568
  2. Added doas support to is_root_or_sudo_prefix function. I will understand if this change would be asked to be removed, added just because I use doas.

Jira reference number AR-2132

How Has This Been Tested?

Building using the command ./compile.sh BOARD=orangepi5 BRANCH=legacy BUILD_DESKTOP=no BUILD_MINIMAL=no KERNEL_CONFIGURE=no KERNEL_GIT=shallow RELEASE=bookworm on my machine. For some reason fails on the first try, creating the device and not finding it, but the second run succeeds.

Checklist:

Please delete options that are not relevant.

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] My changes generate no new warnings

View the full article

Navigation

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.