From patchwork Sat Jul 1 17:06:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v1,2/3] buildscript: patch source before generating feeds From: Tim Niemeyer X-Patchwork-Id: 353 Message-Id: <1498928816-12109-2-git-send-email-tim@tn-x.org> To: franken-dev@freifunk.net Date: Sat, 1 Jul 2017 19:06:55 +0200 .. otherwise the applied patches are not used while generating the openwrt config. Signed-off-by: Tim Niemeyer Reviewed-by: Christian Dresel --- buildscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildscript b/buildscript index afa77f8..c6af21e 100755 --- a/buildscript +++ b/buildscript @@ -135,6 +135,8 @@ prepare() { /bin/rm -rf "$target" cp -a src/openwrt "$target" + patch_target + ## generate own feeds.conf #this local variable should be globally configure variable used in get_source and here local PACKAGEBASE=${PWD}/src/packages @@ -166,8 +168,6 @@ prepare() { fi done - patch_target - #saves ~200MB for each build test -d ./src/dl || mkdir ./src/dl ln -s ../../src/dl "$target"/dl