| libzypp 17.37.10
    | 
#include <zypp/PurgeKernels.h>
| Classes | |
| struct | Impl | 
| Public Member Functions | |
| PurgeKernels () | |
| void | markObsoleteKernels () | 
| void | setUnameR (const std::string &val) | 
| std::string | unameR () const | 
| void | setKernelArch (const zypp::Arch &arch) | 
| Arch | kernelArch () const | 
| void | setKeepSpec (const std::string &val) | 
| std::string | keepSpec () const | 
| Private Attributes | |
| RW_pointer< Impl > | _pimpl | 
Implements the logic of the "purge-kernels" command.
Definition at line 27 of file PurgeKernels.h.
| zypp::PurgeKernels::PurgeKernels | ( | ) | 
Definition at line 480 of file PurgeKernels.cc.
| void zypp::PurgeKernels::markObsoleteKernels | ( | ) | 
Marks all currently obsolete Kernels according to the keep spec.
Definition at line 486 of file PurgeKernels.cc.
| void zypp::PurgeKernels::setUnameR | ( | const std::string & | val | ) | 
Force a specific uname to be set, only used for testing, in production the running kernel is detected.
Definition at line 667 of file PurgeKernels.cc.
| std::string zypp::PurgeKernels::unameR | ( | ) | const | 
Definition at line 672 of file PurgeKernels.cc.
| void zypp::PurgeKernels::setKernelArch | ( | const zypp::Arch & | arch | ) | 
Force a specific kernel arch to be set, only used for testing, in production the running kernel arch is detected.
Definition at line 677 of file PurgeKernels.cc.
| Arch zypp::PurgeKernels::kernelArch | ( | ) | const | 
Definition at line 682 of file PurgeKernels.cc.
| void zypp::PurgeKernels::setKeepSpec | ( | const std::string & | val | ) | 
Overrides the keep spec, the default value is read from ZConfig. The keep spec is a string of tokens seperated by ",". It only supports 3 different tokens:
Definition at line 687 of file PurgeKernels.cc.
| std::string zypp::PurgeKernels::keepSpec | ( | ) | const | 
Definition at line 692 of file PurgeKernels.cc.
| 
 | private | 
Definition at line 69 of file PurgeKernels.h.