[OE-core] [PATCH] net-tools_1.60-26.bb: Error fix

Khem Raj raj.khem at gmail.com
Tue Jan 12 08:49:16 UTC 2016


On Mon, Jan 11, 2016 at 9:02 PM, Li Xin <lixin.fnst at cn.fujitsu.com> wrote:
> when set PATCHTOOL = "patch" in conf/local.conf,error will occur
> in the step of do_patch.
> The error is: "quilt: command not found",so fix it.
>
> Signed-off-by: Li Xin <lixin.fnst at cn.fujitsu.com>
> ---
>  meta/recipes-extended/net-tools/net-tools_1.60-26.bb | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb b/meta/recipes-extended/net-tools/net-tools_1.60-26.bb
> index 923d048..e173f54 100644
> --- a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb
> +++ b/meta/recipes-extended/net-tools/net-tools_1.60-26.bb
> @@ -30,6 +30,7 @@ SRC_URI[patch.sha256sum] = "aeeeafaff68866a446f01bb639d4e0146a60af34dcd20e31a3e4
>  UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/n/net-tools/"
>
>  inherit gettext
> +DEPENDS = "quilt-native"
>
>  # The Makefile is lame, no parallel build
>  PARALLEL_MAKE = ""
> @@ -40,7 +41,7 @@ PARALLEL_MAKE = ""
>  # up all previously applied patches in the start
>  nettools_do_patch() {
>         cd ${S}
> -       quilt pop -a || true
> +       ${STAGING_BINDIR_NATIVE}/quilt pop -a || true

Can you see if this change is sstate safe ?

>         if [ -d ${S}/.pc-nettools ]; then
>                 rm -rf ${S}/.pc
>                 mv ${S}/.pc-nettools ${S}/.pc
> --
> 1.8.4.2
>
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list