[yocto] New error in 1.7

Anders Darander anders at chargestorm.se
Tue Nov 25 04:56:41 PST 2014


* peterengcomau001 at adam.com.au <peterengcomau001 at adam.com.au> [141125 13:44]:
>    This is new territory for me.
>    I have created the following patch
>    diff --git a/configure.ac b/configure.ac
>    --- a/configure.ac
>    +++ b/configure.ac
>    @@ -16 +16 @@ AC_CONFIG_SRCDIR([libop/op_config.h])
>    -AM_INIT_AUTOMAKE
>    +AM_INIT_AUTOMAKE([foreign])

Yep, that's not really a valid patch file (at least not one that can be
applied.

>    Can you direct me to some information that describes the exact syntax
>    for creating patches?

If you want to do it by hand, look at the "Creating patches with diff"
section on http://jungels.net/articles/diff-patch-ten-minutes.html.

If you think you might need to add multiple patches, rework them etc.
I'd recommend using git.

Cheers,
Anders

-- 
Anders Darander
ChargeStorm AB / eStorm AB



More information about the yocto mailing list