Code: Select all
qdepends -k DEPEND .* | grep -i sys-kernelCode: Select all
grep CONFIG_CHECK /var/db/pkg/ -r+1 mikegpitt ! you are even more clever !mikegpitt wrote:Code: Select all
qdepends -k DEPEND .* | grep -i sys-kernel
Code: Select all
qdepends -k DEPEND .* | grep -i virtual/linux-sourcesCode: Select all
sys-libs/libcap-2.19
sys-libs/glibc-2.12.1-r3
app-emulation/wine-1.3.8
media-video/ffmpeg-0.6_p25767
media-video/transcode-1.1.5-r2
media-gfx/sane-backends-1.0.21-r1
media-libs/libgii-1.0.2
media-libs/libv4l-0.8.1
sys-apps/hal-0.5.14-r3
sys-apps/keyutils-1.4-r1
x11-drivers/xf86-input-evdev-2.5.0
sys-fs/udev-164
sys-kernel/vanilla-sources-2.6.37_rc4
sys-kernel/vanilla-sources-2.6.36.1
sys-kernel/linux-headers-2.6.36.1Code: Select all
/var/db/pkg/net-dialup/ppp-2.4.5-r1/ppp-2.4.5-r1.ebuild: CONFIG_CHECK="~PPP ~PPP_ASYNC ~PPP_SYNC_TTY"
/var/db/pkg/net-dialup/ppp-2.4.5-r1/ppp-2.4.5-r1.ebuild: CONFIG_CHECK="${CONFIG_CHECK} ~PPP_FILTER"
/var/db/pkg/net-dialup/ppp-2.4.5-r1/ppp-2.4.5-r1.ebuild: CONFIG_CHECK="${CONFIG_CHECK} ~PPP_DEFLATE ~PPP_BSDCOMP ~PPP_MPPE"
/var/db/pkg/net-dialup/ppp-2.4.5-r1/ppp-2.4.5-r1.ebuild: CONFIG_CHECK="${CONFIG_CHECK} ~PPPOE ~PACKET"
/var/db/pkg/net-dialup/ppp-2.4.5-r1/ppp-2.4.5-r1.ebuild: CONFIG_CHECK="${CONFIG_CHECK} ~PPPOATM"
/var/db/pkg/sys-auth/consolekit-0.4.3/consolekit-0.4.3.ebuild: CONFIG_CHECK="~AUDITSYSCALL"
/var/db/pkg/sys-boot/grub-0.97-r10/grub-0.97-r10.ebuild: amd64) CONFIG_CHECK='~IA32_EMULATION' check_extra_config ;;
/var/db/pkg/net-print/hplip-3.10.9/hplip-3.10.9.ebuild:CONFIG_CHECK="~PARPORT ~PPDEV"
/var/db/pkg/media-libs/libv4l-0.8.1/libv4l-0.8.1.ebuild:CONFIG_CHECK="~SHMEM"
/var/db/pkg/sys-apps/hal-0.5.14-r3/hal-0.5.14-r3.ebuild: local CONFIG_CHECK="~HOTPLUG ~NET"
/var/db/pkg/sys-apps/hal-0.5.14-r3/hal-0.5.14-r3.ebuild: local CONFIG_CHECK="~INOTIFY_USER"
/var/db/pkg/sys-apps/hal-0.5.14-r3/hal-0.5.14-r3.ebuild: local CONFIG_CHECK="~ACPI_PROCFS ~ACPI_PROC_EVENT"
/var/db/pkg/sys-apps/devicekit-power-014/devicekit-power-014.ebuild: local CONFIG_CHECK="ACPI_SYSFS_POWER"
/var/db/pkg/sys-apps/lm_sensors-3.2.0/lm_sensors-3.2.0.ebuild:CONFIG_CHECK="~HWMON ~I2C_CHARDEV ~I2C"
/var/db/pkg/sys-fs/lvm2-2.02.74/lvm2-2.02.74.ebuild: local CONFIG_CHECK="~SYSVIPC"
/var/db/pkg/sys-fs/ntfs3g-2010.10.2/ntfs3g-2010.10.2.ebuild: CONFIG_CHECK="~FUSE_FS"
/var/db/pkg/sys-fs/udev-164/udev-164.ebuild:CONFIG_CHECK="~INOTIFY_USER ~SIGNALFD ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2
/var/db/pkg/sys-fs/cryptsetup-1.1.3-r1/cryptsetup-1.1.3-r1.ebuild: local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC"
/var/db/pkg/sys-fs/fuse-2.8.5/fuse-2.8.5.ebuild: CONFIG_CHECK="~FUSE_FS"
/var/db/pkg/sys-fs/cdfs-2.6.27/cdfs-2.6.27.ebuild:CONFIG_CHECK="BLK_DEV_LOOP"
/var/db/pkg/sys-fs/udisks-1.0.1-r2/udisks-1.0.1-r2.ebuild: CONFIG_CHECK="~USB_SUSPEND ~!IDE"If cdfs needs to be recompiled each time the kernel changes and portage does not know this then you have stumbled upon a bug.dufeu wrote:In addition to 'virtualbox-modules' and 'vmware-modules' for "linux-sources", I now know I need to re-install 'cdfs' each time I change kernels. This was something I didn't realize before.
I think dufeu wants to recompile everything related to the kernel on each update to ensure that he is taking advantage of all the latest updates. The only things you *have* to recompile at each kernel update are the modules, as they will not load due to ABI breakage. Everything else is optional.ppurka wrote:If cdfs needs to be recompiled each time the kernel changes and portage does not know this then you have stumbled upon a bug.
I was completely unaware of the existence of the 'sys-kernel/module-rebuild' package. Thank you!!ppurka wrote:Usually the command you need to run after installing a new kernel is module-rebuild rebuild. You can check what it is going to build by first doing a module-rebuild list.
Code: Select all
# module-rebuild
module-rebuild [options] action [category/package]
Version: 0.5
Where options are:
-X - Emerge based on package names,
not exact versions.
-C - Disable all coloured output.
-P foo - Specify package manager: portage(default) or paludis
Where action is one of:
add - Add package to moduledb.
del - Delete a package from moduledb.
toggle - Toggle auto-rebuild of Package.
list - List packages to auto-rebuild.
rebuild - Rebuild packages.
populate - Populate the database with any
packages which currently install
drivers into the running kernel.
# module-rebuild populate
# module-rebuild list
** Packages which I will emerge are:
=/vmware-modules-1.0.0.17
=sys-fs/cdfs-2.6.27
=app-emulation/virtualbox-modules-3.2.12
=app-emulation/vmware-modules-1.0.0.25-r2
# emerge -s module-rebuild
Searching...
[ Results for search key : module-rebuild ]
[ Applications found : 3 ]
* module-rebuild
Description: Package set which contains all packages that own one or more files.
* x11-module-rebuild
Description: Package set which contains all packages that match specified values of a specified variable.
* sys-kernel/module-rebuild
Latest version available: 0.6
Latest version installed: 0.6
Size of files: 0 kB
Homepage: http://www.gentoo.org/
Description: A utility to rebuild any kernel modules which you have installed
License: GPL-2Code: Select all
big_daddy boot # emerge -p @x11-module-rebuild
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-drivers/nvidia-drivers-260.19.29
[ebuild R ] x11-drivers/xf86-input-evdev-2.5.0
big_daddy boot # emerge -p @module-rebuild
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-drivers/nvidia-drivers-260.19.29
big_daddy boot # emerge --list-sets
dev
downgrade
installed
live-rebuild
module-rebuild
old
preserved-rebuild
rebuilt-binaries
security
selected
system
unavailable
unavailable-binaries
world
x11-module-rebuild
big_daddy boot #
Very nice! Thanks. I didn't know about this set.dol-sen wrote:Just to be clear, for those that are using portage-2.2 which has sets support. the module-rebuild package sets are generated at run time. They are also not part of sys-apps/module-rebuild.
Code: Select all
equery d linux-sourcesCode: Select all
equery d linux-headers