[Buildroot] [PATCH] system: add options for /bin /sbin and /lib to be symlinks into /usr

Yann E. MORIN yann.morin.1998 at free.fr
Wed Sep 2 14:11:44 UTC 2015


Vincent, All,

On 2015-09-02 15:07 +0100, Vicente Olivert Riera spake thusly:
> On 09/02/2015 03:04 PM, Thomas Petazzoni wrote:
> > Dear Mike Williams,
> > 
> > On Wed, 2 Sep 2015 09:50:34 -0400, Mike Williams wrote:
> > 
> >> It's not just what systemd expects, many packages by default install their
> >> systemd-related items to /lib, etc. instead of /usr/lib, so we either have
> >> manual fixes to the .mk files for those packages or inconsistencies in
> >> where those items go. As an example, I believe rsyslog is passed a special
> >> flag setting its systemd install location to /usr/lib, and gpsd is still
> >> just installing to /lib/systemd/system.
> >>
> >> It wouldn't surprise me if most of our systemd users had already merged
> >> their directories in their skeleton; I will probably do so soon as well.
> > 
> > Hum, right, I see. Then maybe Yann's patch is the right answer. In fact
> > what I'd like to see in Buildroot is a group of people taking care of
> > the systemd-related issues. So if you're willing (with others) to
> > tackle that, it would be very useful. If you agree with Yann's patch,
> > can you please test it and give your formal Tested-by/Reviewed-by?
> > 
> > Thanks,
> > 
> > Thomas
> > 
> 
> and what about also selecting BR2_ROOTFS_USR_SYMLINKS in systemd's
> Config.in?

It's already done by BR2_INIT_SYSTEMD.

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