From patchwork Sat Oct 12 23:30:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 1175773 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="cYtFw2nc"; 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 46rLfw3N3Yz9sNx for ; Sun, 13 Oct 2019 10:31:04 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 87166875B4; Sat, 12 Oct 2019 23:30:59 +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 I3sC4TQTb2CW; Sat, 12 Oct 2019 23:30:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 1C7CB869C4; Sat, 12 Oct 2019 23:30:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 7E4A91BF427 for ; Sat, 12 Oct 2019 23:30:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 753CF87BA6 for ; Sat, 12 Oct 2019 23:30:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uqxqRTe8yECD for ; Sat, 12 Oct 2019 23:30:54 +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 hemlock.osuosl.org (Postfix) with ESMTPS id A32C587B97 for ; Sat, 12 Oct 2019 23:30:54 +0000 (UTC) Received: by mail-qt1-f194.google.com with SMTP id 3so19616449qta.1 for ; Sat, 12 Oct 2019 16:30:54 -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; bh=cwh5/4XigeMztEXoZcahQU2AWpBTpIuZwQULF6+mibI=; b=cYtFw2ncFrZiqHpbmUFDgqUye5F6g164ZV+uncrPR88+IXED8cXgQRKOtlwbJYqBny 7rz06Dk6+0Du22xdKL6mUlipVg4uLs7glUnqtr8WKOHKtA2LQXxOM7yDcvPSGUGfvZ0J Elgqzop+dhePUaTFf6DOYq4L3ctNd5WyLuk4gzRjbuRgCkXv++Fft5AjziFvGTckjM0s sQlenlHJjkksCBgeJtkI8jaS8cYHC+316fo0rLiVLziAJactH8abnhNSZ4HRs1z2k23m Lwxy4P07ccEXDWG5/tMKSDPzsan1mqAEIe4HdjyXv/fuaHaU42Z+F84p3H5cfQ2QLc+g vMqA== 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; bh=cwh5/4XigeMztEXoZcahQU2AWpBTpIuZwQULF6+mibI=; b=QHx2rt4Kjcw4GMf2COKsWWWLUjVnulJZgcTl2/UkZYNXHaOju37mY6dA+jcq66XlV8 Pe8+WUNIaAvNWdf6qpS89/cYSP8T4JXZbk/XcoQscV/IFxeDrdpFeNioy6HZz0aanVKr wQbfSNBQ8rTd7J6aiRAn49ocqUdU6isBZ9mtWtYxjfm8L9MZbwpyKHjRlhqd8I5K6HRZ GxK5QlVBqnmONkrv67f+IdvnYDgqqEtfTqIDxXsC8RG/w2K8n7EwEsRx3q67CHAWQ4pV biER99rPx9WQ+gl6NG4ZgGRl4Ogy7l/5ZYnKFHI/d1s2l14wJcOskwww8U2b6fDcHuBq 5TuA== X-Gm-Message-State: APjAAAXZJBcAs+Dq6eEgj6BuX1MEO/Rv7YwtOvKY8oioO4w9RXNK5FOw rwb2gIivl6cGRxBpqknO259rdAAT X-Google-Smtp-Source: APXvYqxSafsIweWuDiHQuv3Vt6ox3zE4BKUdGtnbe+or++44sVMFPA8xvif/Dvi1XDxc1oRz1JWwaQ== X-Received: by 2002:aed:29e7:: with SMTP id o94mr24725798qtd.161.1570923053303; Sat, 12 Oct 2019 16:30:53 -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 w45sm7952609qtb.47.2019.10.12.16.30.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Oct 2019 16:30:52 -0700 (PDT) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Sat, 12 Oct 2019 20:30:41 -0300 Message-Id: <20191012233041.29984-1-unixmania@gmail.com> X-Mailer: git-send-email 2.18.1 Subject: [Buildroot] [PATCH] board/wandboard/post-build.sh: create boot.scr at TARGET_DIR/boot 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 MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Carlos Santos There is no reason to create boot.scr at board/wandboard and later install it at TARGET_DIR/boot, leaving a stale file behind. Signed-off-by: Carlos Santos --- board/wandboard/post-build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/board/wandboard/post-build.sh b/board/wandboard/post-build.sh index 43e091c5d7..17aa9eefaf 100755 --- a/board/wandboard/post-build.sh +++ b/board/wandboard/post-build.sh @@ -2,7 +2,9 @@ BOARD_DIR="$(dirname $0)" +install -d -m 755 $TARGET_DIR/boot + $HOST_DIR/bin/mkimage -A arm -O linux -T script -C none \ --n "boot script" -d $BOARD_DIR/boot.scr.txt $BOARD_DIR/boot.scr +-n "boot script" -d $BOARD_DIR/boot.scr.txt $TARGET_DIR/boot/boot.scr -install -m 0644 -D $BOARD_DIR/boot.scr $TARGET_DIR/boot/boot.scr +chmod 644 $TARGET_DIR/boot/boot.scr