mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-10-20 02:42:03 +08:00
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:
+2
-2
@@ -72,7 +72,7 @@ nkernel=("${GRUB_BTRFS_NKERNEL[@]}")
|
|||||||
## Initramfs name(s)
|
## Initramfs name(s)
|
||||||
ninit=("${GRUB_BTRFS_NINIT[@]}")
|
ninit=("${GRUB_BTRFS_NINIT[@]}")
|
||||||
## Microcode(s) name(s)
|
## Microcode(s) name(s)
|
||||||
microcode=("${GRUB_BTRFS_INTEL_UCODE[@]}")
|
microcode=("${GRUB_BTRFS_CUSTOM_MICROCODE[@]}")
|
||||||
## Limit snapshots to show in the Grub menu
|
## Limit snapshots to show in the Grub menu
|
||||||
limit_snap_show="${GRUB_BTRFS_LIMIT:-50}"
|
limit_snap_show="${GRUB_BTRFS_LIMIT:-50}"
|
||||||
## How to sort snapshots list
|
## How to sort snapshots list
|
||||||
@@ -454,7 +454,7 @@ boot_bounded()
|
|||||||
detect_initramfs
|
detect_initramfs
|
||||||
if [ -z "${list_initramfs}" ]; then continue; fi
|
if [ -z "${list_initramfs}" ]; then continue; fi
|
||||||
name_initramfs=("${list_initramfs[@]##*"/"}")
|
name_initramfs=("${list_initramfs[@]##*"/"}")
|
||||||
# microcode (intel-ucode + custom microcode)
|
# microcode (auto-detect + custom microcode)
|
||||||
detect_microcode
|
detect_microcode
|
||||||
name_microcode=("${list_ucode[@]##*"/"}")
|
name_microcode=("${list_ucode[@]##*"/"}")
|
||||||
# show snapshot found during run "grub-mkconfig"
|
# show snapshot found during run "grub-mkconfig"
|
||||||
|
|||||||
@@ -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.
|
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")
|
* GRUB_BTRFS_IGNORE_SPECIFIC_PATH=("var/lib/docker")
|
||||||
|
|
||||||
|
|||||||
@@ -41,9 +41,9 @@
|
|||||||
# Default:
|
# Default:
|
||||||
#GRUB_BTRFS_NINIT=("initramfs-linux.img" "initramfs-linux-fallback.img")
|
#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:
|
# Default:
|
||||||
#GRUB_BTRFS_INTEL_UCODE=("intel-ucode.img")
|
#GRUB_BTRFS_CUSTOM_MICROCODE=("intel-ucode.img")
|
||||||
|
|
||||||
# Ignore specific path during run "grub-mkconfig".
|
# 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/...
|
# If path is a directory, # Found Snapshot: 2016-03-31 10:24:41 var/lib/docker/btrfs/subvolumes/...
|
||||||
|
|||||||
Reference in New Issue
Block a user