lib & config: give shellcheck directions (to /dev/null for dynamic, to repo-relative path for static) for all sourced references

- in preparation for tightening the shellcheck severity level
  - it needs to be able to follow all sources; dynamic ones are ignored, static ones need root-relative prefix
This commit is contained in:
Ricardo Pardini
2024-05-18 20:41:18 +02:00
committed by Igor
parent 5fe762e0a3
commit 40371934d2
38 changed files with 41 additions and 1 deletions

View File

@@ -443,7 +443,9 @@ function compile_uboot() {
function uboot_postinst_base() {
# Source the armbian-release information file
# shellcheck source=/dev/null
[ -f /etc/armbian-release ] && . /etc/armbian-release
# shellcheck source=/dev/null
source /usr/lib/u-boot/platform_install.sh
if [ "${FORCE_UBOOT_UPDATE:-no}" == "yes" ]; then