Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] board/liteboard: drop custom post-image script
Date: Fri, 20 Mar 2020 22:34:32 +0100	[thread overview]
Message-ID: <20200320213432.GV10025@scaer> (raw)
In-Reply-To: <20200320154538.3115525-1-m.niestroj@grinn-global.com>

Marcin, All,

On 2020-03-20 16:45 +0100, Marcin Niestroj spake thusly:
> Instead use generic genimage.sh script.
> 
> Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
> Tested-by: Bartosz Bilas <b.bilas@grinn-global.com>

Both applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  board/grinn/liteboard/post-image.sh | 14 --------------
>  configs/grinn_liteboard_defconfig   |  3 ++-
>  2 files changed, 2 insertions(+), 15 deletions(-)
>  delete mode 100755 board/grinn/liteboard/post-image.sh
> 
> diff --git a/board/grinn/liteboard/post-image.sh b/board/grinn/liteboard/post-image.sh
> deleted file mode 100755
> index 1a076eecb8..0000000000
> --- a/board/grinn/liteboard/post-image.sh
> +++ /dev/null
> @@ -1,14 +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/grinn_liteboard_defconfig b/configs/grinn_liteboard_defconfig
> index d48dfde715..58f2a6b40d 100644
> --- a/configs/grinn_liteboard_defconfig
> +++ b/configs/grinn_liteboard_defconfig
> @@ -2,7 +2,8 @@ BR2_arm=y
>  BR2_cortex_a7=y
>  BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y
>  BR2_SYSTEM_DHCP="eth0"
> -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/grinn/liteboard/post-image.sh"
> +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
> +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/grinn/liteboard/genimage.cfg"
>  BR2_LINUX_KERNEL=y
>  BR2_LINUX_KERNEL_CUSTOM_VERSION=y
>  BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.23"
> -- 
> 2.25.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      parent reply	other threads:[~2020-03-20 21:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-20 15:45 [Buildroot] [PATCH 1/2] board/liteboard: drop custom post-image script Marcin Niestroj
2020-03-20 15:45 ` [Buildroot] [PATCH 2/2] board/liteboard: bump U-Boot to 2020.01 Marcin Niestroj
2020-03-20 21:34 ` Yann E. MORIN [this message]

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=20200320213432.GV10025@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox