summaryrefslogtreecommitdiffstats
path: root/package/lvm2/Config.in
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2013-11-28 09:29:28 +0100
committerPeter Korsgaard <peter@korsgaard.com>2013-11-28 17:29:48 +0100
commitff0f55e381972d57c9fbd818d5b906b2dcb5a368 (patch)
tree700bc29a756dc9d1e0b5e5f0d7c319ef1981bee6 /package/lvm2/Config.in
parent62d15df19a0d181a266a88b46525d0d4959c8739 (diff)
downloadbuildroot-ff0f55e381972d57c9fbd818d5b906b2dcb5a368.tar.gz
buildroot-ff0f55e381972d57c9fbd818d5b906b2dcb5a368.zip
lvm2: replace !BR2_PACKAGE_LVM2_DMSETUP_ONLY by BR2_PACKAGE_LVM2_STANDARD_INSTALL
BR2_PACKAGE_LVM2_DMSETUP_ONLY is a "negative" option that disables build and install of part of the suite. This option cannot be unselected by other config options, which gives a problem for BR2_PACKAGE_UDISKS_LVM2: it needs BR2_PACKAGE_LVM2_APP_LIBRARY, which requires the full suite. Therefore, replace the negative BR2_PACKAGE_LVM2_DMSETUP_ONLY by a positive BR2_PACKAGE_LVM2_STANDARD_INSTALL. To make sure that existing defconfigs keep working, the new option defaults to y unless the legacy BR2_PACKAGE_LVM2_DMSETUP_ONLY was selected. Fixes http://autobuild.buildroot.net/results/ea4627cae45e972ebba5b33a2b2871ce7f46fedc/ Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/lvm2/Config.in')
-rw-r--r--package/lvm2/Config.in16
1 files changed, 10 insertions, 6 deletions
diff --git a/package/lvm2/Config.in b/package/lvm2/Config.in
index b3988eaed1..5d6209fc12 100644
--- a/package/lvm2/Config.in
+++ b/package/lvm2/Config.in
@@ -16,19 +16,23 @@ config BR2_PACKAGE_LVM2
user-space. This makes it useful for not only LVM, but EVMS,
software raid, and other drivers that create "virtual" block devices.
-config BR2_PACKAGE_LVM2_DMSETUP_ONLY
- bool "install dmsetup only"
- depends on BR2_PACKAGE_LVM2
+if BR2_PACKAGE_LVM2
+
+config BR2_PACKAGE_LVM2_STANDARD_INSTALL
+ bool "standard install instead of only dmsetup"
+ default y if !BR2_PACKAGE_LVM2_DMSETUP_ONLY # legacy 2013.11
help
- Install dmsetup only and skip the LVM2 suite.
+ Install the standard suite of lvm2 programs. When this option is not
+ set, only dmsetup is installed.
config BR2_PACKAGE_LVM2_APP_LIBRARY
bool "install application library"
- depends on BR2_PACKAGE_LVM2
- depends on !BR2_PACKAGE_LVM2_DMSETUP_ONLY
+ select BR2_PACKAGE_LVM2_STANDARD_INSTALL
help
Install application library (liblvm2app).
+endif
+
comment "lvm2 needs a toolchain w/ largefile"
depends on BR2_USE_MMU
depends on !BR2_LARGEFILE
OpenPOWER on IntegriCloud