Skip to content

Commit 6adf9f7

Browse files
committed
BananaPi BPI-M4-Zero: Move display_alert
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
1 parent 0d9740a commit 6adf9f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/boards/bananapim4zero.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ function post_family_tweaks_bsp__bananapi_firmware() {
2727
function post_family_tweaks_bsp__bananapi_wireless_regdb() {
2828
if [[ `curl -I https://git.kernel.org 2>&1 | grep 'HTTP/2 200'` ]]; then
2929
mkdir -p $SRC/cache
30-
mkdir -p "${destination}"/lib/firmware/updates
31-
display_alert "$BOARD" "Installing upstream wireless-regdb" "info"
3230
git clone --depth=1 -q https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git $SRC/cache/wireless-regdb
3331
sleep .25
3432
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
3535
cp -f $SRC/cache/wireless-regdb/regulatory.db "${destination}"/lib/firmware/updates/regulatory.db
3636
cp -f $SRC/cache/wireless-regdb/regulatory.db.p7s "${destination}"/lib/firmware/updates/regulatory.db.p7s
3737
fi

0 commit comments

Comments
 (0)