File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ function post_family_tweaks_bsp__bananapi_firmware() {
27
27
function post_family_tweaks_bsp__bananapi_wireless_regdb() {
28
28
if [[ `curl -I https://git.kernel.org 2>&1 | grep 'HTTP/2 200'` ]]; then
29
29
mkdir -p $SRC/cache
30
- mkdir -p "${destination}"/lib/firmware/updates
31
- display_alert "$BOARD" "Installing upstream wireless-regdb" "info"
32
30
git clone --depth=1 -q https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git $SRC/cache/wireless-regdb
33
31
sleep .25
34
32
if [[ -f "$SRC/cache/wireless-regdb/regulatory.db" ]] && [[ -f "$SRC/cache/wireless-regdb/regulatory.db.p7s" ]]; then
33
+ display_alert "$BOARD" "Installing upstream wireless-regdb" "info"
34
+ mkdir -p "${destination}"/lib/firmware/updates
35
35
cp -f $SRC/cache/wireless-regdb/regulatory.db "${destination}"/lib/firmware/updates/regulatory.db
36
36
cp -f $SRC/cache/wireless-regdb/regulatory.db.p7s "${destination}"/lib/firmware/updates/regulatory.db.p7s
37
37
fi
You can’t perform that action at this time.
0 commit comments