mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-03 10:50:20 +00:00
upgrades: Re-add workaround for grub
For dist-upgrade from buster to bullseye, we had a workaround to avoid grub error during upgrade. The workaround is still needed for dist-upgrade from bullseye to bookworm. Helps #2057. Test: 1. Build freedombox package for bullseye-backports with this fix included. 2. Install package in bullseye vagrant box. 3. Enable automatic updates, and start dist upgrade from action. 4. Check journal to see if there is an error from grub. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
957ddf5a2d
commit
c70006d03a
@ -84,7 +84,10 @@ DIST_UPGRADE_PACKAGES_WITH_PROMPTS = [
|
||||
|
||||
DIST_UPGRADE_PRE_INSTALL_PACKAGES = ['base-files']
|
||||
|
||||
DIST_UPGRADE_PRE_DEBCONF_SELECTIONS: List[str] = []
|
||||
DIST_UPGRADE_PRE_DEBCONF_SELECTIONS: List[str] = [
|
||||
# Tell grub-pc to continue without installing grub again.
|
||||
'grub-pc grub-pc/install_devices_empty boolean true'
|
||||
]
|
||||
|
||||
DIST_UPGRADE_REQUIRED_FREE_SPACE = 5000000
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user