def kernel_packages(self): if "kernel" in self.data.packages.excludedList: return [] kernels = ["kernel"] if payload_utils.arch_is_x86() and isys.isPaeAvailable(): kernels.insert(0, "kernel-PAE") # ARM systems use either the standard Multiplatform or LPAE platform if payload_utils.arch_is_arm(): if isys.isLpaeAvailable(): kernels.insert(0, "kernel-lpae") return kernels
def kernel_packages(self): if "kernel" in self.data.packages.excludedList: return [] kernels = ["kernel"] if payload_utils.arch_is_x86() and isys.isPaeAvailable(): kernels.insert(0, "kernel-PAE") # ARM systems use either the standard Multiplatform or LPAE platform if payload_utils.arch_is_arm(): if isys.isLpaeAvailable(): kernels.insert(0, "kernel-lpae") return kernels