From de5b29257a3977354175946966f7dfcfe9e41548 Mon Sep 17 00:00:00 2001 From: Ian Santopietro Date: Thu, 16 Sep 2021 10:14:23 -0600 Subject: [PATCH] debian: remove pop-boot package This package was briefly used when we transitioned to kernelstub, however it should not be installed on modern systems as it can cause random loss of boot options (which, in extreme circumstances, may cause the boot to fail). We should thus remove this package from the build as every supported version of Pop_OS uses kernelstub by default (on EFI systems; legacy boot systems are a non-issue because they won't/can't be transitioned to kernelstub/systemd-boot) Fixes #54 (by removing the offending file altogether) --- debian/control | 5 ----- debian/pop-boot.postinst | 21 --------------------- 2 files changed, 26 deletions(-) delete mode 100644 debian/pop-boot.postinst diff --git a/debian/control b/debian/control index 8050a02..eb3cc72 100644 --- a/debian/control +++ b/debian/control @@ -10,8 +10,3 @@ Architecture: all Depends: ${misc:Depends}, ${python3:Depends}, efibootmgr, python3-debian, util-linux Recommends: python3-systemd Description: Automatic kernel efistub manager for UEFI - -Package: pop-boot -Architecture: all -Depends: kernelstub, systemd -Description: The fancy, magical, automatic boot package for Pop!_OS diff --git a/debian/pop-boot.postinst b/debian/pop-boot.postinst deleted file mode 100644 index 1821b57..0000000 --- a/debian/pop-boot.postinst +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -DISTRO_EFI_PATH=/boot/efi -DISTRO_LOADER_CONF_PATH=$DISTRO_EFI_PATH/loader/loader.conf -DISTRO_DFAULT_KERNEL_OPTIONS=quiet splash loglevel=0 - -if [ ! -f $DISTRO_LOADER_CONF_PATH ]; then - kernelstub \ - --esp-path "$DISTRO_EFI_PATH" \ - --options "$DISTRO_DEFAULT_KERNEL_OPTIONS" \ - --loader \ - --manage-only \ - --verbose - - bootctl install --path=$DISTRO_EFI_PATH - -else - echo "Loader configuration found in $DISTRO_LOADER_CONF_PATH, not \ -performing initial config" - -fi