Skip to content
Snippets Groups Projects

binary_grub-efi: Allow removal of protected packages

Ubuntu have recently started marking shim-signed as Protected/Important in their Debian packaging, which means apt will refuse to remove it unless you pass extra flags.

This causes live-build to fail in the binary_grub-efi stage when it tries to clean up the packages it has temporarily installed to build the bootloader for the binary stage.

I propose temporarily adding the --allow-remove-essential flag to the apt options during this stage to allow such packages to be removed without failure.

I have tested that this patch allows an Ubuntu focal based iso image to build, whereas the master branch currently can't.

Merge request reports

Merge request pipeline #272674 passed

Merge request pipeline passed for bd2a0e97

Approval is optional

Merged by Luca BoccassiLuca Boccassi 3 years ago (Aug 4, 2021 5:40pm UTC)

Merge details

  • Changes merged into with bd2a0e97.
  • Deleted the source branch.

Pipeline #272700 passed

Pipeline passed for bd2a0e97 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading