All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Steve Sakoman" <steve@sakoman.com>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][dunfell 14/33] yocto-check-layer: Remove duplicated code
Date: Thu,  5 Aug 2021 05:33:51 -1000	[thread overview]
Message-ID: <aa8e0928bda4a01623552084fc0ac0658e495b53.1628176985.git.steve@sakoman.com> (raw)
In-Reply-To: <cover.1628176985.git.steve@sakoman.com>

From: Richard Purdie <richard.purdie@linuxfoundation.org>

Nicolas Dechesne spotted there was duplicate code I had introduced with a
previous fix. Remove the second statement since the earlier one is correct
all that is needed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f3e8d9f0e53e73de5498fccce81d049a88f6473b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 scripts/yocto-check-layer | 2 --
 1 file changed, 2 deletions(-)

diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer
index deba3cb4f8..84fb0011e9 100755
--- a/scripts/yocto-check-layer
+++ b/scripts/yocto-check-layer
@@ -152,8 +152,6 @@ def main():
         logger.info("Setting up for %s(%s), %s" % (layer['name'], layer['type'],
             layer['path']))
 
-        shutil.copyfile(bblayersconf + '.backup', bblayersconf)
-
         missing_dependencies = not add_layer_dependencies(bblayersconf, layer, dep_layers, logger)
         if not missing_dependencies:
             for additional_layer in additional_layers:
-- 
2.25.1


  parent reply	other threads:[~2021-08-05 15:36 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-05 15:33 [OE-core][dunfell 00/33] Patch review Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 01/33] Revert "gstreamer-plugins-good: ignore CVE-2021-3497/8 since they are fixed" Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 02/33] Revert "gstreamer-plugins-base: ignore CVE-2021-3522 since it is fixed" Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 03/33] gstreamer: ignore CVE-2021-3497, CVE-2021-3498, and CVE-2021-3522 Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 04/33] libxml2: fix CVE-2021-3541 Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 05/33] avahi: fix CVE-2021-3468 Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 06/33] curl: Fix for CVE-2021-22898 Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 07/33] curl: Fix CVE-2021-22924 and CVE-2021-22925 Steve Sakoman
2021-08-06 16:12   ` Mike Crowe
2021-08-05 15:33 ` [OE-core][dunfell 08/33] linux-yocto/5.4: update to v5.4.134 Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 09/33] oeqa/manual/toaster: fix small typo Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 10/33] ovmf: Fix VLA warnings with GCC 11 Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 11/33] archiver.bbclass: Fix patch error for recipes that inherit dos2unix Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 12/33] bitbake.conf: change GNOME_MIRROR to new one Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 13/33] initramfs-framework/setup-live: fix shebang Steve Sakoman
2021-08-05 15:33 ` Steve Sakoman [this message]
2021-08-05 15:33 ` [OE-core][dunfell 15/33] glew: fix Makefile race Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 16/33] oe-setup-builddir: update YP docs and OE URLs Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 17/33] qemu.inc: Add seccomp PACKAGECONFIG option Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 18/33] qemu: Enable seccomp if FEATURE is set Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 19/33] ifupdown: added -1 option to dhclient for dhcpv6 Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 20/33] oeqa/ethernet_ip_connman : add test for network connections Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 21/33] oeqa/runtime : add test for RTC(Real Time Clock) Steve Sakoman
2021-08-05 15:33 ` [OE-core][dunfell 22/33] oeqa/runtime/cases: Only disable/enable for current boot Steve Sakoman
2021-08-05 15:34 ` [OE-core][dunfell 23/33] oeqa/suspend : add test for suspend state Steve Sakoman
2021-08-05 15:34 ` [OE-core][dunfell 24/33] oeqa/runtime: add test for matchbox-terminal Steve Sakoman
2021-08-05 15:34 ` [OE-core][dunfell 25/33] oeqa/terminal : improve the test case Steve Sakoman
2021-08-05 15:34 ` [OE-core][dunfell 26/33] oeqa/usb_hid.py : add test to check the usb/human interface device status after suspend state Steve Sakoman
2021-08-05 15:34 ` [OE-core][dunfell 27/33] yocto-check-layer: improve missed dependencies Steve Sakoman
2021-08-05 15:34 ` [OE-core][dunfell 28/33] checklayer: new function get_layer_dependencies() Steve Sakoman
2021-08-05 15:34 ` [OE-core][dunfell 29/33] checklayer: rename _find_layer_depends Steve Sakoman
2021-08-05 15:34 ` [OE-core][dunfell 30/33] yocto-check-layer: ensure that all layer dependencies are tested too Steve Sakoman
2021-08-05 15:34 ` [OE-core][dunfell 31/33] archiver.bbclass: fix do_ar_configured failure for kernel Steve Sakoman
2021-08-05 15:34 ` [OE-core][dunfell 32/33] linux-yocto/5.4: update to v5.4.135 Steve Sakoman
2021-08-05 15:34 ` [OE-core][dunfell 33/33] sstate: Fix rebuilds when changing layer config Steve Sakoman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aa8e0928bda4a01623552084fc0ac0658e495b53.1628176985.git.steve@sakoman.com \
    --to=steve@sakoman.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.