Patchwork [4/6] package/genimage: new host-only package

login
register
mail settings
Submitter Yann E. MORIN
Date March 17, 2013, 6:19 p.m.
Message ID <54a4d3e4cadf57b105adf8f8a216ebe846bcbeeb.1363544331.git.yann.morin.1998@free.fr>
Download mbox | patch
Permalink /patch/228304/
State Accepted
Headers show

Comments

Yann E. MORIN - March 17, 2013, 6:19 p.m.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

---
Changes v1 -> v2:
  - add license info (Thomas)
---
 package/Config.in.host          |    1 +
 package/genimage/Config.in.host |   12 ++++++++++++
 package/genimage/genimage.mk    |   13 +++++++++++++
 3 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 package/genimage/Config.in.host
 create mode 100644 package/genimage/genimage.mk
Peter Korsgaard - March 18, 2013, 10:07 p.m.
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 Yann> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
 Yann> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 Yann> ---
 Yann> Changes v1 -> v2:
 Yann>   - add license info (Thomas)
 Yann> ---
 Yann>  package/Config.in.host          |    1 +
 Yann>  package/genimage/Config.in.host |   12 ++++++++++++
 Yann>  package/genimage/genimage.mk    |   13 +++++++++++++
 Yann>  3 files changed, 26 insertions(+), 0 deletions(-)
 Yann>  create mode 100644 package/genimage/Config.in.host
 Yann>  create mode 100644 package/genimage/genimage.mk

 Yann> diff --git a/package/Config.in.host b/package/Config.in.host
 Yann> index 43f292c..c456d5d 100644
 Yann> --- a/package/Config.in.host
 Yann> +++ b/package/Config.in.host
 Yann> @@ -3,6 +3,7 @@ menu "Host utilities"
 Yann>  source "package/dfu-util/Config.in.host"
 Yann>  source "package/dosfstools/Config.in.host"
 Yann>  source "package/e2fsprogs/Config.in.host"
 Yann> +source "package/genimage/Config.in.host"
 Yann>  source "package/lpc3250loader/Config.in.host"
 Yann>  source "package/omap-u-boot-utils/Config.in.host"
 Yann>  source "package/openocd/Config.in.host"
 Yann> diff --git a/package/genimage/Config.in.host b/package/genimage/Config.in.host
 Yann> new file mode 100644
 Yann> index 0000000..cfa267c
 Yann> --- /dev/null
 Yann> +++ b/package/genimage/Config.in.host
 Yann> @@ -0,0 +1,12 @@
 Yann> +config BR2_PACKAGE_HOST_GENIMAGE
 Yann> +	bool "host genimage"
 Yann> +	help
 Yann> +	  genimage is a tool to generate multiple filesystem and flash images
 Yann> +	  from a given root filesystem tree. genimage is intended to be run
 Yann> +	  in a fakeroot environment.
 Yann> +	  
 Yann> +	  Configuration is done is a config file parsed by libconfuse. Options
 Yann> +	  like the path to tools can be given in environment variables, the config
 Yann> +	  file or commandline switches.
 Yann> +	  

The help text lines are too long. Committed with that fixed, thanks.

Patch

diff --git a/package/Config.in.host b/package/Config.in.host
index 43f292c..c456d5d 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -3,6 +3,7 @@  menu "Host utilities"
 source "package/dfu-util/Config.in.host"
 source "package/dosfstools/Config.in.host"
 source "package/e2fsprogs/Config.in.host"
+source "package/genimage/Config.in.host"
 source "package/lpc3250loader/Config.in.host"
 source "package/omap-u-boot-utils/Config.in.host"
 source "package/openocd/Config.in.host"
diff --git a/package/genimage/Config.in.host b/package/genimage/Config.in.host
new file mode 100644
index 0000000..cfa267c
--- /dev/null
+++ b/package/genimage/Config.in.host
@@ -0,0 +1,12 @@ 
+config BR2_PACKAGE_HOST_GENIMAGE
+	bool "host genimage"
+	help
+	  genimage is a tool to generate multiple filesystem and flash images
+	  from a given root filesystem tree. genimage is intended to be run
+	  in a fakeroot environment.
+	  
+	  Configuration is done is a config file parsed by libconfuse. Options
+	  like the path to tools can be given in environment variables, the config
+	  file or commandline switches.
+	  
+	  http://www.pengutronix.de/software/genimage/
diff --git a/package/genimage/genimage.mk b/package/genimage/genimage.mk
new file mode 100644
index 0000000..6ed44a4
--- /dev/null
+++ b/package/genimage/genimage.mk
@@ -0,0 +1,13 @@ 
+#############################################################
+#
+# genimage
+#
+##############################################################
+
+GENIMAGE_VERSION        = 4
+GENIMAGE_SOURCE         = genimage-$(GENIMAGE_VERSION).tar.xz
+GENIMAGE_SITE           = http://www.pengutronix.de/software/genimage/download/
+GENIMAGE_DEPENDENCIES   = libconfuse
+GENIMAGE_LICENSE        = GPLv2
+
+$(eval $(host-autotools-package))