Skip to content

Commit

Permalink
Microcode variable updated (#106)
Browse files Browse the repository at this point in the history
* 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"
  • Loading branch information
Antynea authored Sep 16, 2020
1 parent 7e5bfa5 commit 041a9c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 41_snapshots-btrfs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
4 changes: 2 additions & 2 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -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/...
Expand Down

0 comments on commit 041a9c6

Please sign in to comment.