[PATCH 02/20] - optimized sysupgrade_no_config_save.patch patch call

Tim Niemeyer tim.niemeyer at mastersword.de
Do Jul 16 19:03:57 CEST 2015


Hi Steffen

Am Mittwoch, den 15.07.2015, 21:47 +0200 schrieb Steffen Pankratz:
> Signed-off-by: Steffen Pankratz <kratz00 at gmx.de>
Reviewed-by: Tim Niemeyer <tim.niemeyer at mastersword.de>

> ---
>  buildscript | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/buildscript b/buildscript
> index 733cf02..b310953 100755
> --- a/buildscript
> +++ b/buildscript
> @@ -130,7 +130,7 @@ prepare() {
>  
>  	# todo evaluate this with the new openwrt
>  	# This changes the default behavior of sysupgrade to not save the config 
> -	cat build_patches/sysupgrade_no_config_save.patch | patch -p0 -d $target
> +	patch -p0 -d $target -i $PWD/build_patches/sysupgrade_no_config_save.patch

Good catch!

Tim

>  
>  	#saves ~200MB for each build
>  	test -d ./src/dl || mkdir ./src/dl
> -- 
> 2.4.5
> 

-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : signature.asc
Dateityp    : application/pgp-signature
Dateigröße  : 819 bytes
Beschreibung: This is a digitally signed message part
URL         : <http://lists.freifunk.net/pipermail/franken-dev-freifunk.net/attachments/20150716/4007adfd/attachment-0002.sig>


Mehr Informationen über die Mailingliste franken-dev