From 16c36c078a2cd806e7fc86770753a704d4592b98 Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Wed, 19 Feb 2020 21:55:43 +0000 Subject: [PATCH] fix: Only remove kernelstub on Pop!_OS Fixes #207 --- src/installer/steps/configure/mod.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/installer/steps/configure/mod.rs b/src/installer/steps/configure/mod.rs index b67c2365..817f8808 100644 --- a/src/installer/steps/configure/mod.rs +++ b/src/installer/steps/configure/mod.rs @@ -231,7 +231,11 @@ pub fn configure, S: AsRef, F: FnMut(i3 // Remove incompatible bootloader packages match Bootloader::detect() { - Bootloader::Bios => remove.push("kernelstub"), + Bootloader::Bios => { + if iso_os_release.name == "Pop!_OS" { + remove.push("kernelstub"); + } + } Bootloader::Efi => (), }