Skip to content
View in the app

A better way to browse. Learn more.

Learn more

[Armbian build PR] - Add doas support to `is_root_or_sudo_prefix`

Featured Replies

Description

doas is not compatible with sudo flags. The codebase was checked for sudo-specific uses of this function, but none were found, all cases were in the form of sudo <command>. Replacing it with doas <command> yields the same result.

Was extracted from #6576 and can't be merged until it's reverted in #6642

How Has This Been Tested?

Used to build images on my machine with extensions that use is_root_or_sudo_prefix

Checklist:

  • [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.