def get_linux(apt_cache): '''Return the linux metapackage for the system's kernel''' kernel_detection = kerneldetection.KernelDetection(apt_cache) return kernel_detection.get_linux_metapackage()
def get_linux_version(apt_cache): '''Return the linux image for the system's kernel''' kernel_detection = kerneldetection.KernelDetection(apt_cache) return kernel_detection.get_linux_version()