From patchwork Sun Oct 13 00:22:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 1175781 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="D9iw3+Ri"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46rMqD71zwz9s7T for ; Sun, 13 Oct 2019 11:23:20 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F044C875B4; Sun, 13 Oct 2019 00:23:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 60xImAbb1oa4; Sun, 13 Oct 2019 00:23:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 2B0698704C; Sun, 13 Oct 2019 00:23:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 79B081BF95E for ; Sun, 13 Oct 2019 00:23:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 692F68704C for ; Sun, 13 Oct 2019 00:23:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t8K4S3PCmElL for ; Sun, 13 Oct 2019 00:23:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qt1-f194.google.com (mail-qt1-f194.google.com [209.85.160.194]) by whitealder.osuosl.org (Postfix) with ESMTPS id CA91687048 for ; Sun, 13 Oct 2019 00:23:06 +0000 (UTC) Received: by mail-qt1-f194.google.com with SMTP id j31so19668247qta.5 for ; Sat, 12 Oct 2019 17:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=oeVz8mI7i52jm4QoBwYYx75SepQcK+5e+uwoI23qtIg=; b=D9iw3+RigTxTs2K7Kn5JDSgiTycHev/8DaEZ45ULeT/PyZU6zAPYWjOUg8JmzCN/+6 boOT0yZAWbNy+v4mYY0u80y6aBFz8NMvF4y53Nqm3CfRFXp51e5EPsWag7MrfnFzlB/8 j2v1m/h5Sexgin398HIrO6NMtABMCEE8Kqvvc5aTCbBctIu+l6ER3EOMW72+pPF7uX8t lnKyzSyJFEztu0W/nkCVMFps2Za+sgnaty2E4Ygep/eSJ0E4AD7hMKjBMUYr/Btrpsdq yEEJ+EgK6387+i3CMs8E7CvgD4bEOPRC8HY/x689FF3HTrg/UpZy5cnww+iqyyVLKPJM 7H1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=oeVz8mI7i52jm4QoBwYYx75SepQcK+5e+uwoI23qtIg=; b=BaE016vgHgoxhuWNRBY45fypkIbTiWmj9o1rtGQvnB6bODKQ4HQrsl7KL3BXylSmoX 78Eh8YhRmC0sa2hep5CEpVFhUHkjtSuuQn92fa0R/+BloGF4EqXmQApeNfk2cA81iR1e /lvUMunwTepRtz95qwOpGyLn4Rgtpau55YLZpkPsmLB/v1qd21nEOjzzMunT9pRXkev1 inbJ7JaXMf8GMh8vQwHkykbc6q8nRFR0lVp5RrVrTAtzP7T/4lYqnTHQsl9qyPajTvvZ ROXalXVhs2kWngu2XMFgbFSSW51gotG2gW5yTgLfUR6wnYLTeqvRd91hilPIWynTYvoB XZXQ== X-Gm-Message-State: APjAAAWpTY+9lEW+l87PrUWmo0iFfTI5dJVuouL4++ChGtTNPu2Swk6/ aYTs+Ce/p6D/vckSlLbVLOf7aeLpcP0= X-Google-Smtp-Source: APXvYqzxDRHwU1n3rVOLgO68bEGwcgLtFTn5+61mVsTos1XdZec3/37Kvm4nb1ZIwmQw727qSpFw/A== X-Received: by 2002:ac8:6643:: with SMTP id j3mr25115363qtp.125.1570926185572; Sat, 12 Oct 2019 17:23:05 -0700 (PDT) Received: from casantos.remote.csb (177.204.230.17.dynamic.adsl.gvt.net.br. [177.204.230.17]) by smtp.gmail.com with ESMTPSA id k54sm9373533qtf.28.2019.10.12.17.23.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Oct 2019 17:23:05 -0700 (PDT) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Sat, 12 Oct 2019 21:22:29 -0300 Message-Id: <20191013002232.1045-7-unixmania@gmail.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20191013002232.1045-1-unixmania@gmail.com> References: <20191013002232.1045-1-unixmania@gmail.com> Subject: [Buildroot] [PATCH 6/9] configs/pandaboard: drop custom post-image script 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: Carlos Santos , Peter Korsgaard , Peter Seiderer , Fabio Estevam , Martin Bark MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Carlos Santos Use support/scripts/genimage.sh, instead, which prevents duplicating TARGET_DIR under ${BUILD_DIR}/genimage.tmp/root. Signed-off-by: Carlos Santos --- board/pandaboard/post-image.sh | 16 ---------------- configs/pandaboard_defconfig | 3 ++- 2 files changed, 2 insertions(+), 17 deletions(-) delete mode 100755 board/pandaboard/post-image.sh diff --git a/board/pandaboard/post-image.sh b/board/pandaboard/post-image.sh deleted file mode 100755 index 9cca1b1789..0000000000 --- a/board/pandaboard/post-image.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" -GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg" -GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - -rm -rf "${GENIMAGE_TMP}" - -genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" - -exit $? diff --git a/configs/pandaboard_defconfig b/configs/pandaboard_defconfig index bb4dd28783..408bced9c0 100644 --- a/configs/pandaboard_defconfig +++ b/configs/pandaboard_defconfig @@ -6,7 +6,8 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS2" BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pandaboard/post-image.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pandaboard/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.62"