View previous topic :: View next topic |
Author |
Message |
szatox Advocate

Joined: 27 Aug 2013 Posts: 3521
|
Posted: Sun Feb 23, 2025 8:34 pm Post subject: Dracut is getting kinda pushy |
|
|
Quote: | [ebuild R ] sys-kernel/installkernel-55 USE="dracut* -efistub -grub -refind -systemd -systemd-boot -ugrd -uki -ukify"
| I have it disabled in my make.conf, why does it suddenly activate itself unless I specify USE='-dracut' when calling emerge?
I doubt dracut works with genkernel's boot parameters, so it's not a drop-in replacement. _________________ Make Computing Fun Again |
|
Back to top |
|
 |
zen_desu Tux's lil' helper

Joined: 25 Oct 2024 Posts: 140
|
Posted: Sun Feb 23, 2025 8:38 pm Post subject: Re: Dracut is getting kinda pushy |
|
|
szatox wrote: | Quote: | [ebuild R ] sys-kernel/installkernel-55 USE="dracut* -efistub -grub -refind -systemd -systemd-boot -ugrd -uki -ukify"
| I have it disabled in my make.conf, why does it suddenly activate itself unless I specify USE='-dracut' when calling emerge?
I doubt dracut works with genkernel's boot parameters, so it's not a drop-in replacement. |
dist-kernel with the initramfs flag wants installkernel to use ugrd or dracut.
neither is a drop in replacement for genkernel, but ugrd should automatically configure and handle _most_ things genkernel required a bit of config for. _________________ µgRD dev
Wiki writer |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23131
|
Posted: Sun Feb 23, 2025 8:51 pm Post subject: |
|
|
Assuming you have USE="-dracut" in your make.conf, I am not aware of a way for an ebuild to produce the result shown in isolation. If you are also merging something else, and that something has a hard dependency on sys-kernel/installkernel[dracut], I could see Portage proposing to enable the flag, but it should have also showed some other output stating that it is proposing the flag to satisfy a dependency. Could you show the full USE line from make.conf and the full command that produced the fragment shown? |
|
Back to top |
|
 |
szatox Advocate

Joined: 27 Aug 2013 Posts: 3521
|
Posted: Sun Feb 23, 2025 9:37 pm Post subject: |
|
|
Ehh... PEBKAC.
So, I've been building alternative images for <whatever reason> and then tried updating my system and it turns out I reused the terminal with some leftover garbage in its env. Oh, well, I'll take that outcome over the alternative
Thanks _________________ Make Computing Fun Again |
|
Back to top |
|
 |
skellr l33t


Joined: 18 Jun 2005 Posts: 989 Location: The Village, Portmeirion
|
Posted: Sun Feb 23, 2025 10:33 pm Post subject: |
|
|
Quote: | it turns out I reused the terminal with some leftover garbage in its env. |
Yeah, Dracut seems to prefer /proc/cmdline and also embed /etc/fstab in host-only situations. I mean, it tends to lean to more "hard coded" paths and options. It's like you need to opt-out of specific behavior rather that just telling it what you want. It is a bit too "helpful"? |
|
Back to top |
|
 |
|