Microcode variable updated (#106)

* Microcode variable updated

* Modifying variable to reflect improved microcode detection

* Update config

Change "GRUB_BTRFS_INTEL_UCODE" to new variable "GRUB_BTRFS_CUSTOM_MICROCODE"

* Update README.md

Change "GRUB_BTRFS_INTEL_UCODE" to new variable "GRUB_BTRFS_CUSTOM_MICROCODE"
This commit is contained in:
Antynea
2020-09-16 18:25:11 +02:00
committed by GitHub
parent 7e5bfa597f
commit 041a9c6606
3 changed files with 6 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ nkernel=("${GRUB_BTRFS_NKERNEL[@]}")
## Initramfs name(s)
ninit=("${GRUB_BTRFS_NINIT[@]}")
## Microcode(s) name(s)
microcode=("${GRUB_BTRFS_INTEL_UCODE[@]}")
microcode=("${GRUB_BTRFS_CUSTOM_MICROCODE[@]}")
## Limit snapshots to show in the Grub menu
limit_snap_show="${GRUB_BTRFS_LIMIT:-50}"
## How to sort snapshots list
@@ -454,7 +454,7 @@ boot_bounded()
detect_initramfs
if [ -z "${list_initramfs}" ]; then continue; fi
name_initramfs=("${list_initramfs[@]##*"/"}")
# microcode (intel-ucode + custom microcode)
# microcode (auto-detect + custom microcode)
detect_microcode
name_microcode=("${list_ucode[@]##*"/"}")
# show snapshot found during run "grub-mkconfig"

View File

@@ -93,9 +93,9 @@ You have the possibility to modify many parameters in `/etc/default/grub-btrfs/c
Use it only if you have a custom initramfs name.
* GRUB_BTRFS_INTEL_UCODE=("intel-ucode.img")
* GRUB_BTRFS_CUSTOM_MICROCODE=("intel-ucode.img")
Use it only if you have custom intel-ucode.
Use it only if you have custom microcode.
* GRUB_BTRFS_IGNORE_SPECIFIC_PATH=("var/lib/docker")

4
config
View File

@@ -41,9 +41,9 @@
# Default:
#GRUB_BTRFS_NINIT=("initramfs-linux.img" "initramfs-linux-fallback.img")
# Use only if you have custom intel-ucode
# Use only if you have custom microcode
# Default:
#GRUB_BTRFS_INTEL_UCODE=("intel-ucode.img")
#GRUB_BTRFS_CUSTOM_MICROCODE=("intel-ucode.img")
# Ignore specific path during run "grub-mkconfig".
# If path is a directory, # Found Snapshot: 2016-03-31 10:24:41 var/lib/docker/btrfs/subvolumes/...