[postcfg] add workaround for BTRFS bug
This commit is contained in:
parent
a0e4323063
commit
870b137bfc
@ -113,6 +113,11 @@ class ConfigController:
|
||||
# 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")):
|
||||
target_env_call(["grub-editenv", "-", "set", "menu_auto_hide=1", "boot_success=1"])
|
||||
|
Loading…
Reference in New Issue
Block a user