Skip to content

Commit

Permalink
fix: Only remove kernelstub on Pop!_OS
Browse files Browse the repository at this point in the history
Fixes #207
  • Loading branch information
davidmhewitt authored and mmstick committed Feb 20, 2020
1 parent 6b9f848 commit 16c36c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/installer/steps/configure/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,11 @@ pub fn configure<D: InstallerDiskOps, P: AsRef<Path>, S: AsRef<str>, 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 => (),
}

Expand Down

0 comments on commit 16c36c0

Please sign in to comment.