From patchwork Sun Oct 13 00:22:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 1175784 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.137; helo=fraxinus.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="SXlUOqIA"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46rMqM5Tq8z9s7T for ; Sun, 13 Oct 2019 11:23:27 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4B75085FA0; Sun, 13 Oct 2019 00:23:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vpDuu4z0l7Dh; Sun, 13 Oct 2019 00:23:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 94E6A85FA3; Sun, 13 Oct 2019 00:23:25 +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 174EB1BF969 for ; Sun, 13 Oct 2019 00:23:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0E1D387034 for ; 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 pgEiFifCu-Ha for ; Sun, 13 Oct 2019 00:23:17 +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 5F279874F7 for ; Sun, 13 Oct 2019 00:23:17 +0000 (UTC) Received: by mail-qt1-f194.google.com with SMTP id o12so19696741qtf.3 for ; Sat, 12 Oct 2019 17:23:17 -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=izw74qBoufNQMioVzKPfJG8qNWqicuK66UUpPIXIITw=; b=SXlUOqIApVih+o1DFFHM6QLj1G6d2gz1RX23S5idKAOk/sAeJQPWI6s1WjUWj2mTwW aJ35zNpjcOT8KUlMFFnNYA5zEG/PuvN+pWNoZBnY4zz/Syz+Tm37E+4dkm+aSVuUzToe cuEkE6UvxIMxrbDxyqPv0c8Wzw+hOgD1hh5iWfR3eD6JmzcaMtXayeFWThWZ42rIk3PI yabtc4BR67aJj7oXdK2B1SFbH/XPnbrgRenPBIR+59teLlvr3J7vSO+hLmA5E2KHs9xa 47tO9/yaQVVRszXzFqcaXzjdxIbb3LEUsniFnd/uvmMR0YcQZkZ9lsa9nGaB5MMp5sfE dEig== 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=izw74qBoufNQMioVzKPfJG8qNWqicuK66UUpPIXIITw=; b=pPf+zZ4uwuZZDHVj62vQOiGYeFHqC05WV2ld8+HE8zitImga2CVnafJjvjNdeei95O v6IpLrGVuf+hJ2mCd4g1i3EIYH7nychVNBkffnjOTZs4sdkQfzONl3a4ggdUK5FrCK66 r4Um3sLbLSCO8fnAlmPPAk5aCw2B+GNo7hlEY1bpqi3w2/A+9gJAZs1UutJ4eJHgTllh ZkE0Ag2fBTzP12TzHKQdH9cNRIuT3FLqKi34dtmFSiWbA0TwaBZoO/oW9rP9lVeW7899 XhOi6/LbSZ0e5yyIOs6mclPf89hF3AflwJSlRm4um+nvP6eDYUhevbgiT1gaTfAzrivR xWMQ== X-Gm-Message-State: APjAAAWdPvzWwJ4X5XBLXWq68eQ0+d2UMwLNznmenr+i3Ap7u6AZkm4u qw1ZJ91GT4GTYCfkSL4O9sblOPrPoIs= X-Google-Smtp-Source: APXvYqxdDoorLRRq+AlLjXcV5tSATxp99swn05+dQe3mcMXJ/2yQe0OOOaze/M5JQB9jdPmhXgZiBg== X-Received: by 2002:aed:3f3a:: with SMTP id p55mr25194388qtf.194.1570926196311; Sat, 12 Oct 2019 17:23:16 -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.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Oct 2019 17:23:15 -0700 (PDT) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Sat, 12 Oct 2019 21:22:32 -0300 Message-Id: <20191013002232.1045-10-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 9/9] configs/wandboard: 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 --- The defconfig was edited by hand to reduce the turmoild that would result from using "make savedefconfig" --- board/wandboard/post-image.sh | 15 --------------- configs/wandboard_defconfig | 3 ++- 2 files changed, 2 insertions(+), 16 deletions(-) delete mode 100755 board/wandboard/post-image.sh diff --git a/board/wandboard/post-image.sh b/board/wandboard/post-image.sh deleted file mode 100755 index 18e76aa40d..0000000000 --- a/board/wandboard/post-image.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -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}" - diff --git a/configs/wandboard_defconfig b/configs/wandboard_defconfig index d2f72f734f..c3e04af53e 100644 --- a/configs/wandboard_defconfig +++ b/configs/wandboard_defconfig @@ -7,7 +7,8 @@ BR2_ARM_FPU_VFPV3=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18=y BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" BR2_ROOTFS_POST_BUILD_SCRIPT="board/wandboard/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/wandboard/post-image.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/wandboard/genimage.cfg" BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y