Pull request for branch yem/host-packages
From: "Yann E. MORIN" <[email protected]>
Hello All!
This series adds parted as a host package. This will allow (eg.) post-image scripts to use parted.
Changes v3 -> v4:
- fix double double-slash in parted's ./configure options
Changes v2 -> v3: (Jerzy)
- Fix bad copy-paste in commit log
Changes v1 -> v2: (Thomas)
- don't depend on host-lvm2
- so don't add host-lvm2
- relax dependencies on lvm2/readline for target package
- fix typoes in commit log
Regards,
Yann E. MORIN.
The following changes since commit 08db3236c4508b2329d3b0ed61d3db54f59fd49c:
wavpack: bump to version 4.70.0 (2013-12-12 16:26:10 +0100)
are available in the git repository at:
git://gitorious.org/buildroot/buildroot.git yem/host-packages
for you to fetch changes up to a931d8bd70bf29846273c3d20ad65678e1ef2838:
package/parted: add a host variant (2013-12-12 19:10:50 +0100)
----------------------------------------------------------------
Yann E. MORIN (3):
package/parted: relax dependency on lvm2 package/parted: relax dependency on readline package/parted: add a host variant
package/Config.in.host | 1 + package/parted/Config.in | 4 ---- package/parted/Config.in.host | 6 ++++++ package/parted/parted.mk | 22 +++++++++++++++++++++- 4 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 package/parted/Config.in.host
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/3 package/parted: relax dependency on lvm2
From: "Yann E. MORIN" <[email protected]>
parted can be configured without support for LVM volumes, so we can relax the dependency on lvm2, and make it an optional feature.
Remove now no-longer needed dependency on MMU because of lvm2.
(Based on a code-snippet from Thomas.)
--- package/parted/Config.in | 3 --- package/parted/parted.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 4 deletions(-)
package/parted/Config.in +0 -3
@@ -2,8 +2,6 @@ config BR2_PACKAGE_PARTED bool "parted" depends on BR2_LARGEFILE depends on BR2_USE_WCHAR - depends on BR2_USE_MMU # lvm2 - select BR2_PACKAGE_LVM2 select BR2_PACKAGE_READLINE select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_LIBUUID
@@ -13,5 +11,4 @@ config BR2_PACKAGE_PARTED http://www.gnu.org/software/parted/ comment "parted needs a toolchain w/ largefile, wchar" - depends on BR2_USE_MMU depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
package/parted/parted.mk +8 -1
@@ -7,9 +7,16 @@ PARTED_VERSION = 3.1 PARTED_SOURCE = parted-$(PARTED_VERSION).tar.xz PARTED_SITE = $(BR2_GNU_MIRROR)/parted -PARTED_DEPENDENCIES = readline util-linux lvm2 +PARTED_DEPENDENCIES = readline util-linux PARTED_INSTALL_STAGING = YES PARTED_LICENSE = GPLv3+ PARTED_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_LVM2),y) +PARTED_DEPENDENCIES += lvm2 +PARTED_CONF_OPT += --enable-device-mapper +else +PARTED_CONF_OPT += --disable-device-mapper +endif + $(eval $(autotools-package))
Signature · 1 line
1.8.1.2
PATCH 2/3 package/parted: relax dependency on readline
In reply to Yann E. MORINFrom: "Yann E. MORIN" <[email protected]>
parted can be configured without support for readline (ie. can be not interactive), so we can relax the dependency on readline, and make it an optional feature.
(Based on a code-snippet from Thomas.)
--- package/parted/Config.in | 1 - package/parted/parted.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 2 deletions(-)
package/parted/Config.in +0 -1
@@ -2,7 +2,6 @@ config BR2_PACKAGE_PARTED bool "parted" depends on BR2_LARGEFILE depends on BR2_USE_WCHAR - select BR2_PACKAGE_READLINE select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_LIBUUID help
package/parted/parted.mk +8 -1
@@ -7,11 +7,18 @@ PARTED_VERSION = 3.1 PARTED_SOURCE = parted-$(PARTED_VERSION).tar.xz PARTED_SITE = $(BR2_GNU_MIRROR)/parted -PARTED_DEPENDENCIES = readline util-linux +PARTED_DEPENDENCIES = util-linux PARTED_INSTALL_STAGING = YES PARTED_LICENSE = GPLv3+ PARTED_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_READLINE),y) +PARTED_DEPENDENCIES += readline +PARTED_CONF_OPT += --with-readline +else +PARTED_CONF_OPT += --without-readline +endif + ifeq ($(BR2_PACKAGE_LVM2),y) PARTED_DEPENDENCIES += lvm2 PARTED_CONF_OPT += --enable-device-mapper
Signature · 1 line
1.8.1.2
PATCH 3/3 package/parted: add a host variant
In reply to Yann E. MORINFrom: "Yann E. MORIN" <[email protected]>
Useful for for-build scripts to call parted, eg. to generate partition tables and such automatically.
Since the primary goal is to use parted within scripts, we do not need readline, so it is forcibly disabled.
Also, it does look unlikely that we need to manipulate LVM volumes, so we forcibly disable support for the device-mapper.
--- package/Config.in.host | 1 + package/parted/Config.in.host | 6 ++++++ package/parted/parted.mk | 6 ++++++ 3 files changed, 13 insertions(+) create mode 100644 package/parted/Config.in.host
package/Config.in.host +1 -0
@@ -10,6 +10,7 @@ source "package/lpc3250loader/Config.in.host" source "package/mtools/Config.in.host" source "package/omap-u-boot-utils/Config.in.host" source "package/openocd/Config.in.host" +source "package/parted/Config.in.host" source "package/sam-ba/Config.in.host" source "package/sunxi-tools/Config.in.host" source "package/uboot-tools/Config.in.host"
package/parted/Config.in.host new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_HOST_PARTED + bool "host parted" + help + parted, the GNU partition resizing program + + http://www.gnu.org/software/parted/
package/parted/parted.mk +6 -0
@@ -26,4 +26,10 @@ else PARTED_CONF_OPT += --disable-device-mapper endif +HOST_PARTED_DEPENDENCIES = host-util-linux +HOST_PARTED_CONF_OPT += \ + --without-readline \ + --disable-device-mapper \ + $(eval $(autotools-package)) +$(eval $(host-autotools-package))
Signature · 1 line
1.8.1.2
Hi Yann,
Quoted 9 lines
From: "Yann E. MORIN" <[email protected]>
Hello All!
This series adds parted as a host package. This will allow (eg.) post-image scripts to use parted.
Changes v3 -> v4:
- fix double double-slash in parted's ./configure options
slash or dash ?
Regards,
Jerzy
Quoted 39 lines
Changes v2 -> v3: (Jerzy)
- Fix bad copy-paste in commit logChanges v1 -> v2: (Thomas)
- don't depend on host-lvm2
- so don't add host-lvm2
- relax dependencies on lvm2/readline for target package
- fix typoes in commit logRegards,
Yann E. MORIN.The following changes since commit
08db3236c4508b2329d3b0ed61d3db54f59fd49c:wavpack: bump to version 4.70.0 (2013-12-12 16:26:10 +0100)are available in the git repository at:
git://gitorious.org/buildroot/buildroot.gityem/host-packagesfor you to fetch changes up to
a931d8bd70bf29846273c3d20ad65678e1ef2838:package/parted: add a host variant (2013-12-12 19:10:50 +0100)----------------------------------------------------------------
Yann E. MORIN (3):
package/parted: relax dependency on lvm2 package/parted: relax dependency on readline package/parted: add a host variantpackage/Config.in.host | 1 + package/parted/Config.in | 4 ---- package/parted/Config.in.host | 6 ++++++ package/parted/parted.mk | 22 +++++++++++++++++++++- 4 files changed, 28 insertions(+), 5 deletions(-)create mode 100644 package/parted/Config.in.host
Jerzy, All,
On 2013-12-12 21:11 +0100, Jerzy Grzegorek spake thusly:
Quoted 11 lines
Quoted 9 lines
From: "Yann E. MORIN" <[email protected]>
Hello All!
This series adds parted as a host package. This will allow (eg.) post-image scripts to use parted.
Changes v3 -> v4:
- fix double double-slash in parted's ./configure optionsslash or dash ?
Yes, dash. Fortunately, that's in the cover-letter, so no need to resend it again. :-)
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
From: "Yann E. MORIN" <[email protected]>
Hello All!This series adds parted as a host package. This will allow (eg.) post-image scripts to use parted.
Changes v3 -> v4:
- fix double double-slash in parted's ./configure options
Quoted 8 lines
Changes v2 -> v3: (Jerzy)
- Fix bad copy-paste in commit logChanges v1 -> v2: (Thomas)
- don't depend on host-lvm2
- so don't add host-lvm2
- relax dependencies on lvm2/readline for target package
- fix typoes in commit log
Committed series, thanks.
Signature · 1 line
Bye, Peter Korsgaard