From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] package/parted: add a host variant
Date: Tue, 10 Dec 2013 08:58:45 +0100 [thread overview]
Message-ID: <52A6C9B5.3020607@mind.be> (raw)
In-Reply-To: <20131210082830.57a7728c@skate>
On 10/12/13 08:28, Thomas Petazzoni wrote:
> Dear Arnout Vandecappelle,
>
> On Mon, 09 Dec 2013 22:11:46 +0100, Arnout Vandecappelle wrote:
>
>>>> # If target-parted can handle lvm volumes, then host-parted
>>>> # should be, too, so as to be able to generate them.
>>>> # If target-parted can't handle lvm volumes, there is no reason
>>>> # for host-aprted to handle them.
>>>> ifeq ($(BR2_PACKAGE_LVM2),y)
>>>> PARTED_DEPENDENCIES += lvm2
>>>> HOST_PARTED_DEPENDENCIES += lvm2
>>>> PARTED_CONF_OPT += --enable-device-mapper
>>>> HOST_PARTED_CONF_OPT += --enable-device-mapper
>>>> else
>>>> PARTED_CONF_OPT += --disable-device-mapper
>>>> HOST_PARTED_CONF_OPT += --disable-device-mapper
>>>> endif
>>>
>>> While I do understand the logic behind what you're proposing, I'm not
>>> really comfortable with having the configuration of tools built for the
>>> host changed depending on the target configuration. It seems to be
>>> creating a bad precedent.
>>
>> We already have a precedent: libxml2.
>
> No, libxml2 is not the same case. libxml2 host configuration is
> adjusted according to the hidden BR2_PACKAGE_HOST_LIBXML2_PYTHON
> configuration option, which can be selected by another package.
Yes, it is selected by the _target_ package mesa3d.
>
> Therefore, it is not directly the fact of changing the selection of
> target packages that modifies the configuration of host-libxml2.
>
>> What is so bad about one package's configuration depending on another
>> package configuration?
>
> What I found bad here is that we're trying the configuration of the
> host package to the configuration of the corresponding target package,
> even though there is no real connection between the two things. But
There you have a point: it's really an assumed connection, and one can
probably construct scenarios where you would want the lvm support on the
host but not on the target or vice versa.
Well, let's solve that problem when it is relevant, i.e. there's an
actual use case.
Regards,
Arnout
> maybe I'm over-zealous I don't know.
>
> Best regards,
>
> Thomas
>
--
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-12-10 7:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-02 22:29 [Buildroot] [pull request] Pull request for branch yem/host-packages Yann E. MORIN
2013-12-02 22:29 ` [Buildroot] [PATCH 1/3] package/lvm2: remove uninstall commands Yann E. MORIN
2013-12-06 9:38 ` Thomas Petazzoni
2013-12-06 16:37 ` Yann E. MORIN
2013-12-02 22:29 ` [Buildroot] [PATCH 2/3] package/lvm2: add a host variant Yann E. MORIN
2013-12-02 22:29 ` [Buildroot] [PATCH 3/3] package/parted: " Yann E. MORIN
2013-12-06 9:48 ` Thomas Petazzoni
2013-12-06 16:56 ` Yann E. MORIN
2013-12-06 17:07 ` Thomas Petazzoni
2013-12-09 21:11 ` Arnout Vandecappelle
2013-12-10 7:28 ` Thomas Petazzoni
2013-12-10 7:58 ` Arnout Vandecappelle [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-12-06 19:57 [Buildroot] [pull request v2] Pull request for branch yem/host-packages Yann E. MORIN
2013-12-06 19:57 ` [Buildroot] [PATCH 3/3] package/parted: add a host variant Yann E. MORIN
2013-12-08 17:01 [Buildroot] [pull request v3] Pull request for branch yem/host-packages Yann E. MORIN
2013-12-08 17:01 ` [Buildroot] [PATCH 3/3] package/parted: add a host variant Yann E. MORIN
2013-12-12 18:18 [Buildroot] [pull request v4] Pull request for branch yem/host-packages Yann E. MORIN
2013-12-12 18:18 ` [Buildroot] [PATCH 3/3] package/parted: add a host variant 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=52A6C9B5.3020607@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