Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dracut is getting kinda pushy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3521

PostPosted: Sun Feb 23, 2025 8:34 pm    Post subject: Dracut is getting kinda pushy Reply with quote

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
View user's profile Send private message
zen_desu
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2024
Posts: 140

PostPosted: Sun Feb 23, 2025 8:38 pm    Post subject: Re: Dracut is getting kinda pushy Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23131

PostPosted: Sun Feb 23, 2025 8:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3521

PostPosted: Sun Feb 23, 2025 9:37 pm    Post subject: Reply with quote

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 :lol:

Thanks
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 989
Location: The Village, Portmeirion

PostPosted: Sun Feb 23, 2025 10:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum