Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Self built live/rescue image - adding gentoo-kernel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 4054
Location: Rasi, Finland

PostPosted: Wed Feb 23, 2022 5:05 pm    Post subject: Self built live/rescue image - adding gentoo-kernel? Reply with quote

I've previously created a script that pretty much automates my custom initramfs cpio creation.
I can use it to create "universal" amd64 initramfs image too. I have a directory where I point emerge to build generic amd64 binaries by using --root option to emerge. It's actually a shell script which sets custom USE, CFLAGS... and so on before running emerge.
Simple.
But when emerging gentoo-kernel (the package) it still pulls config "patches" from my host systems /etc/kernel/config.d.

Do I need to go full manual way with kernel or can I utilize portage for automating kernel creation for my project.
One possibility is to use chrooting or some container. But then there's also catalyst, which I know very little... yet.

What way people here suggest I should go?
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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