Gentoo Archives: gentoo-user

From: Laurence Perkins <lperkins@×××××××.net>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: RE: [gentoo-user] LLVM and friends is not compatible.
Date: Mon, 06 Dec 2021 19:26:51
Message-Id: BL0PR07MB4049DC1875EE13021FB3DD99D26D9@BL0PR07MB4049.namprd07.prod.outlook.com
In Reply to: Re: [gentoo-user] LLVM and friends is not compatible. by Wols Lists
1 >>
2 >> -----Original Message-----
3 >> From: Wols Lists <antlists@××××××××××××.uk>
4 >> Sent: Monday, December 6, 2021 11:02 AM
5 >> To: gentoo-user@l.g.o
6 >> Subject: Re: [gentoo-user] LLVM and friends is not compatible.
7 >>
8 >> On 06/12/2021 17:51, Laurence Perkins wrote:
9 >> > Source Mage is a spinoff of Sourceror and is kind of the opposite of Gentoo.
10 >>
11 >> Well, I read the philosophy thing where it said it wasn't comparable with gentoo ...
12 >> >
13 >> > Gentoo is a source-based distro for people who want things to mostly just work like with the binary distros, but also want to do customizations and optimizations easily.
14 >>
15 >> Unfortunately, I can be a bit gruff and not suffer fools gladly. Having had a run in with the bug-wranglers over an issue that completely screwed up my boot (nothing to do with gentoo, admittedly), but that exposed idiotic decisions / other bugs in genkernel, I think I want to look elsewhere.
16 >>
17 >> Let's take a 2x2 truth table - do I have a boot partition, do I have "automount boot" switched on. Three of the four options stomp all over the live boot partition. The fourth fatal errors with "wah wah why won't you let me stomp all over your live boot partition".
18 >>
19 >> The REASON I don't want it stomping all over that partition is the last time a distro (SUSE) did it, it completely trashed my boot leading to several hours debugging and messing about in the systemd rescue shell to get it bootable again. If anybody is going to trash my live boot, I'd rather it was me, not an Artificial Stupidity software manager.
20 >>
21 >> The wranglers' solution was simply to "use the no-install option" - except that that promptly crashed with "can't find input files". Huh?
22 >> Changing the OUTPUT destination makes the INPUT files disappear? wtf?
23 >> >
24
25 Genkernel is pretty... special... It's handy if your system is set up the way it expects. If not, well, then its utility drops off quickly.
26
27 From what you're describing, my suggestion would be to simply only use it for initramfs generation and do the kernel make yourself. That shouldn't "stomp all over" anything except maybe a previous initramfs for the same kernel.
28
29 Or else use dracut, it works decently for initramfs generation as well and lets you specify output location so you can copy things to /boot manually if you so desire.
30
31 Or, depending on how complex your system actually is, just creating your own initramfs isn't terribly difficult. Since it seems like you're wanting explicit control over everything that might be the option that will keep you happiest in the long-run.
32
33 Because initramfs generation is really the only complex part of the process. The rest is just a wrapper for "make && make install && make modules_install" with a few extras of marginal utility like archiving your .config files.
34
35
36
37 >> > Source Mage is a distro for Linux From Scratch folks who are tired of maintaining their own package manager. They don't change*anything* from upstream in their packages, (which makes it really easy to keep "updated" on their end) but the package manager does have a lot of nice features for easily storing whatever patches and configuration changes you choose to make in order to get it running on your system.
38 >>
39 >> Well, if I have to get into maintaining emerge to get it to behave sensibly, I might as well try somewhere else and see if it's an improvement.
40 >> >
41 >> > If you've always wanted to try LFS but tracking package files and patches and configs and so-forth seemed daunting then it's definitely an awesome set of tools.
42 >> >
43 >> > Otherwise it's kind of a lot of work...
44 >> >
45 >> Well, given that I've got oodles of space (just added 3TB to my mirror to give myself a 5TB raid-5 /home lvm, along with 1TB root/ lvm, I've got plenty of space to play with distros. And I was shocked - 32GB of
46 >> DD4 was just over £100, so my new system now has 11TB of hard drive, 32GB of RAM, and a hefty 4-core Ryzen processor :-)
47 >>
48 >> And the bits from shop screw-up mean the new raid testbed I'm building will be a reasonably hefty system too - 4x1TB drives for hammering with raid, 3TB backup drive, 16GB ram - just the thing for learning to kernel program :-)
49 >>
50 >> And seeing as I won't care about trashing it by mistake, I'll be playing with KVM, and all those other fancy technologies to try and run multiple distros stacked on top of each other :-)
51 >>
52 >> Cheers,
53 >> Wol
54 >>
55 >>
56
57 Source-mage is definitely worth experimenting with if you want to get more into the nuts-and-bolts of how to create your own distro without necessarily going full LFS. I haven't used it personally in a long time though since I kind of need to actually *use* the computer rather than just constantly maintaining it. :D
58
59
60 LMP

Replies

Subject Author
Re: [gentoo-user] LLVM and friends is not compatible. Wols Lists <antlists@××××××××××××.uk>