Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

prevent debian-sources from merged


shaman

Question

4 answers to this question

Recommended Posts

  • 0

"Important

Right now, the -1 option is required to not add our @kernel set to world-sets. This allows you to emerge it independently from @world. If you forget to use this option, edit /var/lib/portage/world-sets and remove the @kernel line. This will prevent kernel updates from being included in @world updates."

http://www.funtoo.org/Funtoo_Linux_Installation

 

 

anyways /var/lib/portage/world needs any sys-kernel lines removed to not fetch kernels at world updates ;-)

Link to comment
Share on other sites

  • 0

I'm not satisfied for the presence of debian-source in Funtoo.

# emerge --deselect debian-sources && emerge -C debian-sources

Then

# echo "sys-kernel/debian-sources">>/etc/portage/package.mask
# euse -E experimental -p sys-kernel/gentoo-sources
# emerge gentoo-sources genkernel
Then open /etc/genkernel.conf if you want to change some parameters. And to set the "MAKEOPTS" variable as n?threads+1; then
# genkernel --menuconfig all

( at first if you've more then one sys-kernel*-sources, use :

# eselect kernel list
# eselect kernel set X

(where X is the number relative at the kernel that You want to compile).

 

Ciao :)

Link to comment
Share on other sites

  • 0

I'm not satisfied for the presence of debian-source in Funtoo.

# emerge --deselect debian-sources && emerge -C debian-sources

Then

# echo "sys-kernel/debian-sources">>/etc/portage/package.mask
# euse -E experimental -p sys-kernel/gentoo-sources
# emerge gentoo-sources genkernel
Then open /etc/genkernel.conf if you want to change some parameters. And to set the "MAKEOPTS" variable as n?threads+1; then
# genkernel --menuconfig all

( at first if you've more then one sys-kernel*-sources, use :

# eselect kernel list
# eselect kernel set X

(where X is the number relative at the kernel that You want to compile).

 

Ciao :)

 The

echo "sys-kernel/debian-sources">>/etc/portage/package.mask

 worked for me

Link to comment
Share on other sites

  • 0

In effect .... I wrote also this:

# echo "sys-kernel/debian-sources">>/etc/portage/package.mask

The other informations (excuse me if "redundant" i wrote for a way to use gentoo-sources with genkernel..... but if you want you can't use genkernel but the /usr must be a subdirectory of / (root) included in the root itsels; otherwise will be necessary the initramfs or initrd; considering you want to generate a custom kernel without intramfs, in this case You'll must set as a "built-in modules" to make you machine functional the "foundamental modules  for your machine; then you must know perfectly your hardware and the modules associated with more important peripherals (e.g. HDD o SSD amd others.

 

The initramfs containing modules "not built in", it simplifies things at the level of the kernel configuration and choice to fill out a form built in or put in / lib / modules /

 
If my explanation is not accurate, Please correct me .....

 

I have many things to learn, a lot to understand in a more specific, but the will is there :)

 

If You decide to use a custom kernel without initrams, use the "jobserver" with make (n? threads + 1)

For example I've a i7 then 4 cores but 8 threads. then my jobservermust set to 4 x 2 = 8 + 1 = 9 ; If you've an i5 then 4 cores/4 threads You'll use make -j5 and so on ......

Then in /usr/src/linux/ I'll use

# make -j9 && make -j9 modules_install
(if You want) terminate the job with make install (iyou'll find in /boot a new file named vmlinuz (The compioled kernel image); this file you can rename as you prefer then update grub)

Forgive me if my knowledge of US language is poor and I make grammatical errors and even if I tell you things you already know ... maybe

 

thanks for any suggestions :) :)  :))

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...