Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578818 - profiles/default/linux - allow kernel package to be eselected into system
Summary: profiles/default/linux - allow kernel package to be eselected into system
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-02 10:56 UTC by C. Wijtmans
Modified: 2016-04-14 15:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description C. Wijtmans 2016-04-02 10:56:03 UTC
Need a mechanism for eselected kernel package to become part of system. Detecting which package is being eselected by the directory is pretty simple(if it is indeed a package). But then needs a file outside of portage dir to write to which can be recognized for system packages. This way it is protected from depclean or unmerging while it is selected as the active kernel.

More options: make /var/lib/portage/world a directory, or a virtual kernel system package.

I dont know what you guys think is best, i just want a way to protect the active kernel package(if available, i know some people dont use kernel packages)
Comment 1 Tomáš Mózes 2016-04-07 04:16:15 UTC
If you emerge sources (without oneshot), it stays protected (it gets recorded in your world file). Is that you mean?
Comment 2 Alex Xu (Hello71) 2016-04-14 15:02:05 UTC
unclear what you want here. kernel sources are not required for operation of system.