From patchwork Mon Jun 7 20:42:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 1488975 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FzQKh6LHlz9sRK for ; Tue, 8 Jun 2021 06:42:32 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 4E41A403B6; Mon, 7 Jun 2021 20:42:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H_5JyMGBPg2T; Mon, 7 Jun 2021 20:42:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 9E48D4029B; Mon, 7 Jun 2021 20:42:28 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 36BAE1BF973 for ; Mon, 7 Jun 2021 20:42:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 2532F4029B for ; Mon, 7 Jun 2021 20:42:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QQHZjxZl0haA for ; Mon, 7 Jun 2021 20:42:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by smtp2.osuosl.org (Postfix) with ESMTPS id DD68F400AE for ; Mon, 7 Jun 2021 20:42:25 +0000 (UTC) Received: (Authenticated sender: thomas.petazzoni@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 2F8AE1BF203; Mon, 7 Jun 2021 20:42:22 +0000 (UTC) From: Thomas Petazzoni To: Buildroot List Date: Mon, 7 Jun 2021 22:42:15 +0200 Message-Id: <20210607204221.124908-1-thomas.petazzoni@bootlin.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v5 0/5] Introduce bmap-tools as target + host package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Hello, Back in 2019, Nicolas Carrier started a patch series on bmap-tools, which was kind of abandonned after 4 iterations. I'm now trying to pick it up and revive it. Compared to the v4 from Nicolas: - Checked the list of optional runtime dependencies that bmap-tools can use, as suggested by Romain Naour, and added some explanations in the Config.in help text about them. There is not much more we can do about them in Buildroot: they are not optional build time dependencies, but only runtime dependencies, and only needed when certain features are needed (so there is no reason to make them mandatory dependencies). - Added the missing pyexpat runtime dependency. - Drop incorrect build-time dependencies, which are only runtime ones (target python-setuptools) - Update to the latest version of bmap-tools - Misc improvements to the test cases, migration to a newer toolchain that doesn't exhibit an fallocate() bug. Moving to a newer toolchain requires updating the pre-built kernel image used for the runtime test infrastructure. - Added a host variant for the bmap-tools package, as this tool can also be very useful on the host to optimize the time needed to write an image. This host bmap-tools package comes with a test case as well. Thanks! Thomas Petazzoni Nicolas Carrier (2): package/bmap-tools: new package support/testing/tests/package/test_bmap_tools: new test Thomas Petazzoni (3): package/bmap-tools: enable host package support/testing/infra/emulator.py: update pre-built kernels support/testing/tests/package/test_bmap_tools: add test for host bmap-tools DEVELOPERS | 6 ++ package/Config.in | 1 + package/Config.in.host | 1 + package/bmap-tools/Config.in | 44 ++++++++++ package/bmap-tools/Config.in.host | 12 +++ package/bmap-tools/bmap-tools.hash | 3 + package/bmap-tools/bmap-tools.mk | 14 +++ support/testing/infra/emulator.py | 8 +- .../tests/package/sample_bmap_tools.sh | 15 ++++ .../testing/tests/package/test_bmap_tools.py | 88 +++++++++++++++++++ 10 files changed, 188 insertions(+), 4 deletions(-) create mode 100644 package/bmap-tools/Config.in create mode 100644 package/bmap-tools/Config.in.host create mode 100644 package/bmap-tools/bmap-tools.hash create mode 100644 package/bmap-tools/bmap-tools.mk create mode 100755 support/testing/tests/package/sample_bmap_tools.sh create mode 100644 support/testing/tests/package/test_bmap_tools.py