Skip to content

Commit

Permalink
fix: Ubuntu 22.04 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mmstick committed Sep 13, 2022
1 parent e40a9d1 commit 46a723f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/distribution/debian.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,15 @@ pub fn get_bootloader_packages(os_release: &OsRelease) -> &'static [&'static str
"fwupd-signed",
"linux-image-generic-hwe-20.04",
],
Bootloader::Efi if os_release.name == "Ubuntu" && os_release.version_id.starts_with("22.04") => &[
"grub-common",
"grub-efi-amd64-bin",
"grub-efi-amd64-signed",
"shim-signed",
"mokutil",
"fwupd-signed",
"linux-image-generic-hwe-22.04",
],
Bootloader::Efi if os_release.name == "elementary OS" => &[
"grub-efi-amd64",
"grub-efi-amd64-signed",
Expand Down

0 comments on commit 46a723f

Please sign in to comment.