From c53f5611b30d65276ff6663d2789141c14fa260c Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Wed, 13 Feb 2019 10:14:50 +0100 Subject: [PATCH] Adding full path to wireguard workaround https://github.com/armbian/build/commit/40557aebb30fd98c4fa9af74e9d277d93d9be226 --- lib/compilation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compilation.sh b/lib/compilation.sh index d88a89100..39b90c4d6 100644 --- a/lib/compilation.sh +++ b/lib/compilation.sh @@ -275,7 +275,7 @@ compile_kernel() display_alert "Patching WireGuard" "$(patch --directory=$SRC/cache/sources/wireguard --batch -p1 < $SRC/patch/misc/wireguard.patch)" "info" # headers workaround display_alert "Patching WireGuard" "Applying workaround for headers compilation" "info" - sed -i '/mkdir -p "$destdir"/a mkdir -p "$destdir"/net/wireguard; touch "$destdir"/net/wireguard/{Kconfig,Makefile} # workaround for Wireguard' scripts/package/builddeb + sed -i '/mkdir -p "$destdir"/a mkdir -p "$destdir"/net/wireguard; touch "$destdir"/net/wireguard/{Kconfig,Makefile} # workaround for Wireguard' $SRC/cache/sources/$LINUXSOURCEDIR/scripts/package/builddeb fi # add drivers for Realtek 8811, 8812, 8814 and 8821 chipsets