[Buildroot] [RFC 1/2] busybox: avoid conflict with other packages
Yann E. MORIN
yann.morin.1998 at free.fr
Thu Dec 28 22:56:39 UTC 2017
Baruch, Thomas, All,
On 2017-12-28 17:23 +0100, Yann E. MORIN spake thusly:
> On 2017-12-14 08:58 +0200, Baruch Siach spake thusly:
[--SNIP--]
> > Quoting busybox.mk:
> >
> > # Enable "noclobber" in install.sh, to prevent BusyBox from overwriting any
> > # full-blown versions of apps installed by other packages with sym/hard links.
> >
> > Unfortunately, the noclobber implementation is racy.
>
> How is it racy?
>
> At the moment we're gonna call it, no other package will be installing
> at the same time (in the location seen by busybox at least), so there
> should be no race.
Yet there were some issues with that part, so I've sent a small
patch-series to busybox to fix the noclobber stuff:
http://lists.busybox.net/pipermail/busybox/2017-December/086039.html
So, with this, we should be able to:
- invert the dependency chain, so thatr busybox now depends on all
otehr packages that it may install applets of;
- drop the big list of applets-to-disable in busybox, and rely on the
install-noclobber install rule
If upstream accepts that series, of course...
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list