On Wed, May 17, 2023 at 6:18 AM Jacques Montier <jmont...@gmail.com> wrote: > > Well, well, Rich, you are completely right, you've found the key ! 👍 > I have that line in make.conf > INSTALL_MASK="/lib/systemd/system /usr/lib/systemd/system" > I now see where it comes from. > On the same machine, I have another OpenRC Gentoo with systemd masqued. > I just copîed the make.conf without uncommenting that line... How silly i am > !!! > So I delete that bl...y line ! >
So, I realize this will be controversial, but this is why I don't make super-minimalistic builds. If I were trying to make a Gentoo build to run on a C64 or something and every last inode counted, then sure. However, things like text files simply don't do anything if nothing reads them. These days I also tend to be generous with building kernel modules - it slows down kernel builds, but it has no impact on running kernels if they aren't actually loaded. I also use -mtune these days and not -march. Sure, you lose a little performance, but if I lose a motherboard then I can just build a new PC, stick my hard drive in it, and it will just work. Now, if you're building disposable workers in some cluster that processes lots of jobs, then sure that extra few percent performance might be worth it, but then the individual hosts are all disposable anyway. Otherwise, I've found it is much better to optimize things for MY time than CPU time. -- Rich