From patchwork Thu Mar 8 18:17:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131035 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp50434lja; Thu, 8 Mar 2018 10:25:10 -0800 (PST) X-Google-Smtp-Source: AG47ELu/D8rX7hUeFXQJdIMLEGg7bbC1+HQHq8+VMOyyEuW9SGVcmzWQbqPeSq7zfWruolQWxOsT X-Received: by 2002:a17:902:e83:: with SMTP id 3-v6mr24726314plx.158.1520533510099; Thu, 08 Mar 2018 10:25:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520533510; cv=none; d=google.com; s=arc-20160816; b=VZtOZreRUeAccJsrYBSSQJIJdOXPwrzL6ZDdXNISH/3GLDRFmcthN5P0IbajpA06ej eySTWy1d8GrwLgrHpKANF7oz7SSly5a2OTDM4n0c/3L7EGluckx0ErExnY3nD1ckvYJg UmOrLVuxvBx/KsRx5Y4ogZzlNAEFvhg/u/TxTnSYHy28af/91J/1CLKmPCH9n2DHg7M8 Ce0hFdUO/VHXC6JFn3Ix0ZhZbsoX4FIcyAq3sb6Hmiq0RRijC8cA1pCNlRKppiWK2F5I q4ofZE9Z6AE0pik2ktsoqRzQIFNqFs9TBoh69JJzs7nai1jyuNd2gE9Unmu+0o6FS8oc 6YMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=F9J6rh7xYD8CUdc0XJ9eaBn5yxcwLS9jpSS8X65MXQ4=; b=UW6f4ZXHrDZBI/F3zSPw+l0/Zgoaqf04VHDIg32seFtXppZmEDXrJDoEBbQPlLdnu/ W9RLy0ZhWhK9aDrKjCA1M0lLdpZ3c+Xj+GiZvkW/+bHRYpbX3PQ1vV/CRaZAyzNl/UPM hY+PqTYijy+eCPF469YPtU3B/FTFFF+BlEBNJ0NHL1/kcPqVEfuddMAxgwWVYbmJWyTe WGtVGPBtrXTrX5ME9VbIaqR9e4R/vm0xDKZwdMPhXJilPNyEzbyCORrzr/ZW1nYAt7QX qX6e2OSjI3cYO5e4SFAsx6OQvaYd8u5FigHnhOBy2GVlTrHnuYm8p91t1nwlhStdZ1oS vhUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id f30-v6si15279248plf.654.2018.03.08.10.25.09; Thu, 08 Mar 2018 10:25:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id CDBC578991; Thu, 8 Mar 2018 18:25:06 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mail.openembedded.org (Postfix) with ESMTP id 679907886F for ; Thu, 8 Mar 2018 18:24:44 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2018 10:24:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,441,1515484800"; d="scan'208";a="24053619" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by orsmga006.jf.intel.com with ESMTP; 08 Mar 2018 10:24:44 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Thu, 8 Mar 2018 20:17:24 +0200 Message-Id: <20180308181804.31261-2-alexander.kanavin@linux.intel.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180308181804.31261-1-alexander.kanavin@linux.intel.com> References: <20180308181804.31261-1-alexander.kanavin@linux.intel.com> Subject: [OE-core] [PATCH 02/42] grub: refresh patches X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Ross Burton The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. Signed-off-by: Ross Burton Signed-off-by: Alexander Kanavin --- ...odule-explicitly-keeps-symbole-.module_license.patch | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) -- 2.16.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch b/meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch index 935c472cf8f..ffc2d40d893 100644 --- a/meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch +++ b/meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch @@ -43,19 +43,16 @@ Signed-off-by: Hongxu Jia grub-core/genmod.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/grub-core/genmod.sh.in b/grub-core/genmod.sh.in -index 76df0bb..39a9cfc 100644 ---- a/grub-core/genmod.sh.in -+++ b/grub-core/genmod.sh.in -@@ -59,7 +59,7 @@ if test x@TARGET_APPLE_CC@ != x1; then +Index: grub-2.02/grub-core/genmod.sh.in +=================================================================== +--- grub-2.02.orig/grub-core/genmod.sh.in ++++ grub-2.02/grub-core/genmod.sh.in +@@ -56,7 +56,7 @@ if test x@TARGET_APPLE_LINKER@ != x1; th if test x@platform@ != xemu; then - @STRIP@ --strip-unneeded \ + @TARGET_STRIP@ --strip-unneeded \ -K grub_mod_init -K grub_mod_fini \ - -K _grub_mod_init -K _grub_mod_fini \ + -K _grub_mod_init -K _grub_mod_fini -K .module_license \ -R .note.gnu.gold-version -R .note.GNU-stack \ - -R .note -R .comment $tmpfile || exit 1 + -R .note -R .comment -R .ARM.exidx $tmpfile || exit 1 fi --- -2.8.1 -