1 |
On Sun, 2019-10-27 at 13:49 -0500, William Hubbs wrote: |
2 |
> On Sun, Oct 27, 2019 at 06:58:00PM +0100, Michał Górny wrote: |
3 |
> > On Sun, 2019-10-27 at 12:40 -0500, William Hubbs wrote: |
4 |
> > > Most upstreams and build systems do not make this distinction, so this |
5 |
> > > causes unnecessary hacks in ebuilds. |
6 |
> > > |
7 |
> > |
8 |
> > The hacks aren't 'unnecessary'. There is a very good reason that files |
9 |
> > that are used *purely at build time* don't land in /. That reason is |
10 |
> > disk space. Even if people nowadays are forced to use initramfs with |
11 |
> > separate /usr, it doesn't mean you should just let their rootfs fill up |
12 |
> > with useless files. |
13 |
> |
14 |
> The useless files argument really holds no water with me. We install |
15 |
> many files on / that are useless in one situation or another. |
16 |
> Some examples are logrotate files when logrotate isn't installed, |
17 |
|
18 |
Do we really install logrotate files to /? |
19 |
|
20 |
> systemd units for openrc systems and openrc init scripts for systemd |
21 |
> systems. |
22 |
|
23 |
Those files are at least needed in some scenarios. You're talking about |
24 |
files that are never used without /usr mounted. And that can't be used |
25 |
because they depend on headers in /usr/include. |
26 |
|
27 |
> |
28 |
> Talk to me about useless files on / after we put all of these, and |
29 |
> possibly others I can't think of, behind use flags. |
30 |
> |
31 |
> > Do you have any *real* argument? Because 'unnecessary hack' is |
32 |
> > basically your feeling of ebuild aesthetics. My aesthetics is more |
33 |
> > worried about useless clutter in /lib*. FHS agrees with me, as you |
34 |
> > yourself admitted yesterday. |
35 |
> |
36 |
> Any downstream hack means that we are being lazy and not reporting the |
37 |
> bug upstream and asking them to fix it. |
38 |
> |
39 |
> This particular issue is not a big deal to any other distro and has |
40 |
> never been. Shouldn't we try to get upstreams to do this if it is so |
41 |
> important? |
42 |
> |
43 |
|
44 |
Because 'any other distro' usually means a binary distro that moves |
45 |
files around after installing. And splits static libraries into |
46 |
separate packages. |
47 |
|
48 |
-- |
49 |
Best regards, |
50 |
Michał Górny |