Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Q: Kernel compile for different architecture
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
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 728
Location: San Diego, CA

PostPosted: Mon Mar 03, 2025 8:25 pm    Post subject: Q: Kernel compile for different architecture Reply with quote

I'm using "Binary package guide" (https://wiki.gentoo.org/wiki/Binary_package_guide) in an x86_64 host to build binary packages for the x86 target. It's been working exceptionally well, because it takes a really, really long time to build anything in the x86 target due to its low spec.

One thing I haven't been able to do is to speed up the kernel compilation. In fact, the document excludes "sys-kernel/*". In the x86_64 host, I can build the x86 kernel in the chroot environment, but (I think) the target also requires the kernel modules, so I always end up with a non-bootable system.

What would be my option in this case? I'd appreciate any suggestions.
__
sol


Last edited by solamour on Mon Mar 03, 2025 11:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3538

PostPosted: Mon Mar 03, 2025 9:51 pm    Post subject: Reply with quote

You can just transplant those modules manually. They all get installed into /lib/modules/<kernel version>

A long time ago I used to do updates over network. I'd just NFS-mount root (with no_root_squash) into a much beefier machine, chroot into it, and emerge stuff like usual. You want a reasonably fast network for that, wifi won't cut it.
_________________
Make Computing Fun Again
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