From d92118e13fefb42a5b746aaa52ccbe0b62928b68 Mon Sep 17 00:00:00 2001 From: Philip Mueller Date: Thu, 7 Nov 2024 19:12:30 +0700 Subject: [PATCH] [postcfg] add workaround for BTRFS bug --- src/modules/postcfg/main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/postcfg/main.py b/src/modules/postcfg/main.py index 5589addc1..fb0d34de2 100644 --- a/src/modules/postcfg/main.py +++ b/src/modules/postcfg/main.py @@ -112,6 +112,11 @@ class ConfigController: # around we can't reliably unmount # the target partition. self.terminate('gpg-agent') + + # Workaround for BTRFS amd-ucode.img bug + # https://gitlab.manjaro.org/release-plan/calamares/-/issues/2 + # We have to copy the amd-ucode.img from the live-session over to target + self.copy_file('boot/amd-ucode.img') # Enable 'menu_auto_hide' when supported in grubenv if exists(join(self.root, "usr/bin/grub-set-bootflag")):