From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC 0/2] Handle conflicting files with Busybox
Date: Thu, 28 Dec 2017 18:00:17 +0100 [thread overview]
Message-ID: <20171228170017.GE3428@scaer> (raw)
In-Reply-To: <20171213130131.15744-1-thomas.petazzoni@free-electrons.com>
Thomas, All,
On 2017-12-13 14:01 +0100, Thomas Petazzoni spake thusly:
> As we discussed during the Prague Buildroot Developers meeting, in
> order to implement per-package SDK, we need to ensure that no package
> overwrites files installed by another package.
>
> This RFC series is an attempt at solving this problem for Busybox. I
> have not fixed all packages yet: since it is a very boring task to do,
> I wanted to first get some feedback on whether the approach looks
> reasonable or not.
>
> If the feedback is positive, I'll go ahead and submit proper patches
> that fix all packages that conflict with Busybox.
As I previously said on IRC: I do not much like the big list we will now
have to maintain; that's sad...
However, I like the fact that we can get rid of the many dependencies in
so many packages here and there. :-)
What I would have suggested, though, is to do what Baruch hinted at: use
the noclobber install of Busybox, and then have Busybox depend on all
the packages it provides applets for:
BUSYBOX_DEPENDENCIES = \
$(if $(BR2_PACKAGE_COREUTILS),coreutils) \
$(if $(BR2_PACKAGE_util_LINUX),util-linux) \
etc...
But unfortunately, the noclobber install option is not usable:
- first, there is no way to cause a noclobber install;
- second, the noclobber is not accounted for in the case shell
wrappers are used.
So, I'm afraid we don't have much choice but to do as your series
does...
Regards,
Yann E. MORIN.
> Thanks for your feedback!
>
> Thomas
>
> Thomas Petazzoni (2):
> busybox: avoid conflict with other packages
> packages: drop no longer needed busybox dependencies
>
> package/bc/bc.mk | 5 ----
> package/binutils/binutils.mk | 5 ----
> package/busybox/busybox.mk | 58 ++++++++++++++++++++++++++++++++++++++
> package/coreutils/coreutils.mk | 6 ----
> package/cpio/cpio.mk | 1 -
> package/dcron/dcron.mk | 5 ----
> package/debianutils/debianutils.mk | 2 --
> package/diffutils/diffutils.mk | 4 ---
> package/fbset/fbset.mk | 5 ----
> package/kmod/kmod.mk | 3 --
> package/util-linux/util-linux.mk | 6 ----
> 11 files changed, 58 insertions(+), 42 deletions(-)
>
> --
> 2.14.3
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2017-12-28 17:00 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-13 13:01 [Buildroot] [RFC 0/2] Handle conflicting files with Busybox Thomas Petazzoni
2017-12-13 13:01 ` [Buildroot] [RFC 1/2] busybox: avoid conflict with other packages Thomas Petazzoni
2017-12-13 14:43 ` Baruch Siach
2017-12-14 5:18 ` Thomas Petazzoni
2017-12-14 6:58 ` Baruch Siach
2017-12-14 7:17 ` Thomas Petazzoni
2017-12-28 16:23 ` Yann E. MORIN
2017-12-28 22:56 ` Yann E. MORIN
2017-12-29 5:59 ` Baruch Siach
2017-12-29 9:38 ` Yann E. MORIN
2017-12-29 9:42 ` Thomas Petazzoni
2017-12-29 9:52 ` Yann E. MORIN
2017-12-29 9:55 ` Thomas Petazzoni
2018-01-04 15:20 ` Yann E. MORIN
2018-01-04 15:29 ` Thomas Petazzoni
2018-01-04 15:39 ` Yann E. MORIN
2017-12-29 19:54 ` Trent Piepho
2017-12-29 20:18 ` Yann E. MORIN
2017-12-29 21:50 ` Trent Piepho
2017-12-13 13:01 ` [Buildroot] [RFC 2/2] packages: drop no longer needed busybox dependencies Thomas Petazzoni
2017-12-28 17:00 ` Yann E. MORIN [this message]
2017-12-28 17:04 ` [Buildroot] [RFC 0/2] Handle conflicting files with Busybox Thomas Petazzoni
2017-12-28 17:20 ` Yann E. MORIN
[not found] ` <CANQCQpZ-qO6v+K4kdqmAEdk2+Dk1Yca1fBqyNwfAjau=50cY7A@mail.gmail.com>
[not found] ` <CANQCQpYmpCKopmh_5yYV74kOyezJSCLxp6T1mUiqnocHLZV92A@mail.gmail.com>
2017-12-28 17:36 ` Matthew Weber
2017-12-28 18:01 ` Baruch Siach
2017-12-28 19:11 ` 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=20171228170017.GE3428@scaer \
--to=yann.morin.1998@free.fr \
--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