Skip to content

Commit

Permalink
Adjust OVERLAY_DIR variable to match build framework settings
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik authored and armbianworker committed Oct 8, 2024
1 parent af9ed45 commit 17f141a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/armbian-configng/config.ng.jobs.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@
"doc_link": "",
"src_reference": "",
"author": "Gunjan Gupta",
"condition": "[ -n $OVERLAYDIR ] && [ -n $BOOT_SOC ]"
"condition": "[ -n $OVERLAY_DIR ] && [ -n $BOOT_SOC ]"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion lib/armbian-configng/config.ng.system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ function manage_dtoverlays () {
while true; do
local options=()
j=0
available_overlays=$(ls -1 ${OVERLAYDIR}/*.dtbo | sed "s#^${OVERLAYDIR}/##" | sed 's/.dtbo//g' | grep $BOOT_SOC | tr '\n' ' ')
available_overlays=$(ls -1 ${OVERLAY_DIR}/*.dtbo | sed "s#^${OVERLAY_DIR}/##" | sed 's/.dtbo//g' | grep $BOOT_SOC | tr '\n' ' ')
for overlay in ${available_overlays}; do
local status="OFF"
grep '^fdt_overlays' ${overlayconf} | grep -qw ${overlay} && status=ON
Expand Down
2 changes: 1 addition & 1 deletion tools/json/config.system.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@
"doc_link": "",
"src_reference": "",
"author": "Gunjan Gupta",
"condition": "[ -n $OVERLAYDIR ] && [ -n $BOOT_SOC ]"
"condition": "[ -n $OVERLAY_DIR ] && [ -n $BOOT_SOC ]"
}
]
}
Expand Down

0 comments on commit 17f141a

Please sign in to comment.