Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/genimage : fix dependency to host-mtools mcopy is used by genimage when creating fat parts
@ 2021-01-07 11:06 Fabien Lehoussel
  2021-01-07 15:11 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabien Lehoussel @ 2021-01-07 11:06 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Fabien Lehoussel <fabien.lehoussel@medianesysteme.com>
---
 package/genimage/Config.in.host | 1 +
 package/genimage/genimage.mk    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/genimage/Config.in.host b/package/genimage/Config.in.host
index cf831a143c..8db7eed8e4 100644
--- a/package/genimage/Config.in.host
+++ b/package/genimage/Config.in.host
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_HOST_GENIMAGE
 	bool "host genimage"
+	select BR2_PACKAGE_HOST_MTOOLS
 	help
 	  genimage is a tool to generate multiple filesystem and flash
 	  images from a given root filesystem tree. genimage is
diff --git a/package/genimage/genimage.mk b/package/genimage/genimage.mk
index dde8f8b9e0..1fa93e0854 100644
--- a/package/genimage/genimage.mk
+++ b/package/genimage/genimage.mk
@@ -7,7 +7,7 @@
 GENIMAGE_VERSION = 13
 GENIMAGE_SOURCE = genimage-$(GENIMAGE_VERSION).tar.xz
 GENIMAGE_SITE = https://github.com/pengutronix/genimage/releases/download/v$(GENIMAGE_VERSION)
-HOST_GENIMAGE_DEPENDENCIES = host-pkgconf host-libconfuse
+HOST_GENIMAGE_DEPENDENCIES = host-pkgconf host-libconfuse host-mtools
 GENIMAGE_LICENSE = GPL-2.0
 GENIMAGE_LICENSE_FILES = COPYING
 
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/genimage : fix dependency to host-mtools mcopy is used by genimage when creating fat parts
  2021-01-07 11:06 [Buildroot] [PATCH 1/1] package/genimage : fix dependency to host-mtools mcopy is used by genimage when creating fat parts Fabien Lehoussel
@ 2021-01-07 15:11 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2021-01-07 15:11 UTC (permalink / raw)
  To: buildroot

Fabien, All,

On 2021-01-07 12:06 +0100, Fabien Lehoussel spake thusly:
> Signed-off-by: Fabien Lehoussel <fabien.lehoussel@medianesysteme.com>
> ---
>  package/genimage/Config.in.host | 1 +
>  package/genimage/genimage.mk    | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/package/genimage/Config.in.host b/package/genimage/Config.in.host
> index cf831a143c..8db7eed8e4 100644
> --- a/package/genimage/Config.in.host
> +++ b/package/genimage/Config.in.host
> @@ -1,5 +1,6 @@
>  config BR2_PACKAGE_HOST_GENIMAGE
>  	bool "host genimage"
> +	select BR2_PACKAGE_HOST_MTOOLS
>  	help
>  	  genimage is a tool to generate multiple filesystem and flash
>  	  images from a given root filesystem tree. genimage is
> diff --git a/package/genimage/genimage.mk b/package/genimage/genimage.mk
> index dde8f8b9e0..1fa93e0854 100644
> --- a/package/genimage/genimage.mk
> +++ b/package/genimage/genimage.mk
> @@ -7,7 +7,7 @@
>  GENIMAGE_VERSION = 13
>  GENIMAGE_SOURCE = genimage-$(GENIMAGE_VERSION).tar.xz
>  GENIMAGE_SITE = https://github.com/pengutronix/genimage/releases/download/v$(GENIMAGE_VERSION)
> -HOST_GENIMAGE_DEPENDENCIES = host-pkgconf host-libconfuse
> +HOST_GENIMAGE_DEPENDENCIES = host-pkgconf host-libconfuse host-mtools

Not all genimage configurations require creating a vfat partition.

For example, we do have a few such configurations in Buildroot:

    $ grep -c vfat $(find board/ -name '*genimage*') |grep -E ':0$' |wc -l
    27

    $ cat board/amarula/vyasa/genimage.cfg
    image sdcard.img {
        hdimage {
        }

        partition u-boot-tpl-spl-dtb {
            in-partition-table = "no"
            image = "u-boot-tpl-spl-dtb.img"
            offset = 32K
        }

        partition u-boot-dtb {
            in-partition-table = "no"
            image = "u-boot-dtb.img"
            offset = 8M
            size = 30M # falcon mode: args @ 16M args, uImage @ 17M
        }

        partition rootfs {
            partition-type = 0x83
            image = "rootfs.ext4"
        }
    }

It is your respnsibility to enable whatever filesystem image generators
you need for your system.

Regards,
Yann E. MORIN.

>  GENIMAGE_LICENSE = GPL-2.0
>  GENIMAGE_LICENSE_FILES = COPYING
>  
> -- 
> 2.25.1
> 
> _______________________________________________
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-07 15:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-07 11:06 [Buildroot] [PATCH 1/1] package/genimage : fix dependency to host-mtools mcopy is used by genimage when creating fat parts Fabien Lehoussel
2021-01-07 15:11 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox