Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem to install kernel-bin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
calssilva
n00b
n00b


Joined: 06 Oct 2024
Posts: 1

PostPosted: Sun Oct 06, 2024 6:00 pm    Post subject: Problem to install kernel-bin Reply with quote

Hello,

I am trying to install kernel-bin, however when I try to execute:

euse -E initramfs sys-kernel/linux-firmware

I get the following error:

Use Flags sys-kernel/linux-firmware is not defined in use.desc and should not be added to make.conf

I guess without initramfs I am not able to install kernel-bin.

I really appreciate any information sombody can provide about it,
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20522

PostPosted: Sun Oct 06, 2024 6:22 pm    Post subject: Re: Problem to install kernel-bin Reply with quote

calssilva wrote:
euse -E initramfs sys-kernel/linux-firmware
Per the man page for euse, euse -E is only used to enable a USE flag setting in the make.conf file (which should be at /etc/portage/make.conf).

So if you want to enable that USE flag globally:
Code:
euse -E initramfs

I'm guessing you want to enable it only for the specified kernel? If so, that's more manual. To do so, add a file in the directory /etc/portage/package.use/ with the following contents:
Code:
sys-kernel/linux-firmware    initramfs
As to what you should name the file, that is up to you. I typically use the package name that is requiring the change. So in this instance, I would use /etc/portage/package.use/linux-firmware. This enables the initramfs USE flag for all versions of the sys-kernel/linux-firmware package, but ONLY for that package.

To then install the package for the first time you would use:
Code:
emerge sys-kernel/linux-firmware
Subsequent updates should happen through updating @world.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5242
Location: Bavaria

PostPosted: Sun Oct 06, 2024 6:30 pm    Post subject: Reply with quote

calssilva,

Welcome to Gentoo Forums! :D

Take a look into: https://wiki.gentoo.org/wiki/User:Pietinger/Draft/Quick_Installation_OpenRC_for_an_UEFI_System#Kernel

;-)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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