Fabio Erculiani
4040523908
[kswitch] correctly resolve external kernel modules when not using --from-running.
...
Due to the migration to real virtual packages (away from PROVIDE= due
to EAPI=7 constraints), we failed to resolve kernel binary packages
correctly, thus packages that require them (external kernel modules.)
This patch fixes it, by making sure that we resolve new virtuals correctly.
We expect new virtuals to list kernel packages in their RDEPEND= (runtime
dependecies.)
2018-09-23 15:37:21 +02:00
Fabio Erculiani
2d61be2c4c
[kswitch] fix kernel-switcher behavior when kernels are in external repos.
...
See the code documentation for more info.
2018-09-22 19:34:17 +02:00
Fabio Erculiani
9a28a9d025
[kswitch] write a more reliable list comprehension.
2018-09-22 18:23:37 +02:00
Fabio Erculiani
e319701afe
[kswitch] do not rely on startswith but rather exact category matching.
2018-09-22 18:21:39 +02:00
Sławomir Nizio
f70b673f5e
[kswitch] use reverse dep. not PROVIDE
...
The latter method does not work nowadays, after bumping Portage
(2.3.40-r1) or related to EAPI 7.
2018-09-08 18:32:20 +02:00
Fabio Erculiani
a8fcfd7b15
[kswitch] add concurrency support
2013-12-07 20:29:19 +01:00
Fabio Erculiani
51c77c1378
[kswitch] fix undefined reference "kernel_atom" in PreparedSwitch.post()
2013-11-13 13:13:02 +01:00
Fabio Erculiani
4fbfdaea76
[kswitch] improve API usability by external components (RigoDaemon)
2013-11-13 12:44:27 +01:00
Fabio Erculiani
6b3d4d9978
[kswitch] add virtual/linux-binary-lts variable string
2013-11-13 11:45:57 +01:00
Fabio Erculiani
d91a8d7c9e
[kswitch] fix _guess_kernel_package_file subdirs generation
2013-11-03 12:56:20 +01:00
Fabio Erculiani
91f6c24d9d
[kswitch] add new method KernelSwitcher.running_kernel_package()
...
This public method can be used to determine the currently running
kernel package, if it comes from Entropy repositories.
2013-11-02 14:37:33 +01:00
Fabio Erculiani
fe83020ddd
[kswitch] drop access() usage
2013-09-17 18:20:56 +02:00
Fabio Erculiani
c360738b95
[kswitch] fix install path, resolve bug 4073
2013-03-13 12:03:39 +00:00
Fabio Erculiani
b44c89ad19
[kernel-switcher] turn the kernel switcher library into an OO interface
2013-03-06 15:51:35 +00:00
Fabio Erculiani
d05426e618
[kernel-switcher] move kswitch to entropy lib, kernel-switcher back to equo
2013-03-06 15:28:56 +00:00