View previous topic :: View next topic |
Author |
Message |
bearcatsandor n00b


Joined: 02 Apr 2011 Posts: 26
|
Posted: Mon Sep 18, 2023 12:25 am Post subject: Synconfig and symlink with gentoo-kernel |
|
|
I've been doing "make ... make install ... make modules ..." with gentoo-sources for 25 years now, so I've switch to gentoo-kernel. However, I do miss being able to do 'make syncconfig' to stay on top of kernel changes. Is there a way to do that with gentoo-kernel? How do those of you that run gentoo-kernel handle that?
Secondly, I've seen a few packages complain about there being no /usr/src/linux symlink to point at the current linux sources anymore. What's the usual work-around, as gentoo-kernel has no 'symlink' USE flag?
Thank you. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 53290 Location: 56N 3W
|
Posted: Mon Sep 18, 2023 7:57 pm Post subject: |
|
|
bearcatsandor,
Nothing should fail because the symlink is missing, except things that need to build against the kernel.
The configuration checks will become warnings, as they cannot be completed.
You can still set the symlink by hand, or with
I don't know if gentoo-kernel provides a config file to make that useful though.
Quote: | ..." with gentoo-sources for 25 years now, ... |
Gentoo will be 24 on 04-Oct-23, so you were a really early adopter :)
It was Enoch Linux before it was renamed Gentoo. The 'e' from Enoch is still with us. emerge, ... ebuild ... and all tho other enames.
If you would like a trip down memory lane, try Historical Gentoo _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 3217 Location: Bavaria
|
Posted: Mon Sep 18, 2023 8:51 pm Post subject: |
|
|
bearcatsandor,
You should not use "make syncconfig" anymore because it is deprecated since many years. See in /usr/src/linux/scripts/kconfig/Makefile =>
Quote: | # Note:
# syncconfig has become an internal implementation detail and is now
# deprecated for external use |
Also: https://opensource.com/article/18/10/kbuild-and-kconfig |
|
Back to top |
|
 |
bearcatsandor n00b


Joined: 02 Apr 2011 Posts: 26
|
Posted: Tue Sep 19, 2023 1:01 am Post subject: |
|
|
NeddySeagoon wrote: | bearcatsandor,
Nothing should fail because the symlink is missing, except things that need to build against the kernel.
The configuration checks will become warnings, as they cannot be completed.
You can still set the symlink by hand, or with
I don't know if gentoo-kernel provides a config file to make that useful though.
Quote: | ..." with gentoo-sources for 25 years now, ... |
Gentoo will be 24 on 04-Oct-23, so you were a really early adopter
It was Enoch Linux before it was renamed Gentoo. The 'e' from Enoch is still with us. emerge, ... ebuild ... and all tho other enames.
If you would like a trip down memory lane, try Historical Gentoo |
I had two thoughts collide in my head. I've been using Linux since 1997 (That's where that number comes in), and using Gentoo since 2009. It is nice to know where the 'e' prefix came from though. I'll be reading that article.
Thank you! I'd forgotten about eselect kernel. An 'eselect kernel update' did the trick. |
|
Back to top |
|
 |
bearcatsandor n00b


Joined: 02 Apr 2011 Posts: 26
|
Posted: Tue Sep 19, 2023 1:16 am Post subject: |
|
|
pietinger wrote: | bearcatsandor,
You should not use "make syncconfig" anymore because it is deprecated since many years. See in /usr/src/linux/scripts/kconfig/Makefile =>
Quote: | # Note:
# syncconfig has become an internal implementation detail and is now
# deprecated for external use |
Also: https://opensource.com/article/18/10/kbuild-and-kconfig |
Good to know. At least I don't use LILO anymore.
So, it's 'make old config' now.
Is is best practice to update gentoo-kernel, run 'make oldconfig' in the new source directory, copy the resulting config to /etc/portage/savedconfig/sys-kernel/gentoo-kernel, and then emerge gentoo-kernel again? |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 3217 Location: Bavaria
|
Posted: Tue Sep 19, 2023 6:38 am Post subject: |
|
|
bearcatsandor wrote: | Is is best practice to update gentoo-kernel, run 'make oldconfig' in the new source directory, copy the resulting config to /etc/portage/savedconfig/sys-kernel/gentoo-kernel, and then emerge gentoo-kernel again? |
I am sorry I cant help much with genkernel (I am doing a completely manual kernel configuration/installation). Yes, I also would recommend "make oldconfig", because a "make olddefconfig" doesnt ask you anything and takes all default settings. Of course you will need to copy your old .config file into your new source directory before doing the "make oldconfig".
(See my procedure: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Cheat_Sheets ) |
|
Back to top |
|
 |
|
|
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
|
|