From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] lvm2: replace !BR2_PACKAGE_LVM2_DMSETUP_ONLY by BR2_PACKAGE_LVM2_FULL_SUITE
Date: Mon, 25 Nov 2013 16:35:12 +0100 [thread overview]
Message-ID: <52936E30.1000208@mind.be> (raw)
In-Reply-To: <CAAXf6LU5OkxP8VyPZ4XK0Fp6KAAn6N+8OhiQnXnv4f-=4Lk3AA@mail.gmail.com>
On 25/11/13 16:10, Thomas De Schampheleire wrote:
> On Mon, Nov 25, 2013 at 12:02 PM, Arnout Vandecappelle <arnout@mind.be> wrote:
>> On 25/11/13 10:46, Thomas De Schampheleire wrote:
>>>
>>> Hi Arnout,
>>>
>>> On Sun, Nov 24, 2013 at 12:50 AM, Arnout Vandecappelle
>>> (Essensium/Mind) <arnout@mind.be> wrote:
>>
>> [snip]
>>
>>>> +config BR2_PACKAGE_LVM2_DMSETUP_ONLY
>>>> + bool "lvm2's 'dmsetup only' option removed"
>>>> + select BR2_LEGACY
>>>> + help
>>>> + The BR2_PACKAGE_LVM2_DMSETUP_ONLY was a negative option, which
>>>> + led to problems with other packages that need the full lvm2
>>>> + suite. Therefore, the option has been replaced with the
>>>> positive
>>>> + BR2_PACKAGE_LVM2_FULL_SUITE option.
>>>> +
>>>
>>>
>>> There should be a comment here that refers to the remaining legacy
>>> reference in package/lvm2/Config.in, see
>>> comment at BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL_WRAP.
>>
>>
>> True, I forgot about that. Thanks.
>>
>>
>>>
>>>> config BR2_PACKAGE_QT_JAVASCRIPTCORE
>>>> bool "qt javascriptcore option removed"
>>>> select BR2_LEGACY
>>>> diff --git a/package/lvm2/Config.in b/package/lvm2/Config.in
>>>> index b3988ea..849aab3 100644
>>>> --- a/package/lvm2/Config.in
>>>> +++ b/package/lvm2/Config.in
>>>> @@ -16,16 +16,18 @@ 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"
>>>> +config BR2_PACKAGE_LVM2_FULL_SUITE
>>>> + bool "install the full LVM2 suite"
>>>> + default y if !BR2_PACKAGE_LVM2_DMSETUP_ONLY # legacy 2013.11
>>>> depends on BR2_PACKAGE_LVM2
>>>> help
>>>> - Install dmsetup only and skip the LVM2 suite.
>>>> + Install the full LVM2 suite. 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_FULL_SUITE
>>>> help
>>>> Install application library (liblvm2app).
>>>
>>>
>>> It seems odd to me that the 'full suite' does not include the app
>>> library: it is not 'full'.
>>
>>
>> Granted, but I can't think of a better name. Anyone?
>
> How 'large' is this application library? In this particular
> configuration it is 810K (liblvm2app.so). Is it acceptable to include
> it always in the 'full suite' (and thus remove the option
> BR2_PACKAGE_LVM2_APP_LIBRARY)?
To help answer that question, on my x86_64 glibc build:
3.0M /tmp/lvm2-app-library
2.1M /tmp/lvm2-full-suite
472K /tmp/lvm2-minimal
So the app library adds another 40% to the package size. I guess that's
significant enough not to remove the existing option. Especially because
the only reason is that we can't find a better name for it :-)
My original name was "install all binaries", but I found that less
descriptive than "full suite". Maybe "install all LVM2 programs"?
I could also copy the full list (which is in the .mk file) to the help
text.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2013-11-25 15:35 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-23 7:30 [Buildroot] [autobuild.buildroot.net] Build results for 2013-11-22 Thomas Petazzoni
2013-11-23 13:11 ` Thomas De Schampheleire
2013-11-23 15:09 ` Thomas De Schampheleire
2013-11-23 17:37 ` Thomas Petazzoni
2013-11-23 23:50 ` [Buildroot] [PATCH] lvm2: replace !BR2_PACKAGE_LVM2_DMSETUP_ONLY by BR2_PACKAGE_LVM2_FULL_SUITE Arnout Vandecappelle
2013-11-25 9:46 ` Thomas De Schampheleire
2013-11-25 11:02 ` Arnout Vandecappelle
2013-11-25 15:10 ` Thomas De Schampheleire
2013-11-25 15:35 ` Arnout Vandecappelle [this message]
2013-11-25 15:39 ` Arnout Vandecappelle
2013-11-25 15:51 ` Thomas De Schampheleire
2013-11-25 16:06 ` Arnout Vandecappelle
2013-11-25 21:21 ` Thomas De Schampheleire
2013-11-28 7:13 ` Arnout Vandecappelle
2013-11-28 10:54 ` Thomas De Schampheleire
2013-11-23 17:26 ` [Buildroot] [autobuild.buildroot.net] Build results for 2013-11-22 Thomas Petazzoni
2013-11-25 9:26 ` Thomas De Schampheleire
2013-11-25 9:35 ` Thomas Petazzoni
2013-11-23 20:17 ` Baruch Siach
2013-11-25 9:25 ` Thomas De Schampheleire
2013-11-23 20:38 ` Romain Naour
2013-11-23 21:22 ` Yann E. MORIN
2013-11-23 21:34 ` Yann E. MORIN
2013-11-23 23:15 ` Yann E. MORIN
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=52936E30.1000208@mind.be \
--to=arnout@mind.be \
--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