Skip to content

Commit

Permalink
Set default value of GRUB_BTRFS_CREATE_ONLY_HARMONIZED_ENTRIES to true
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed Apr 6, 2018
1 parent 66a06be commit a5a96fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 41_snapshots-btrfs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
# (Use only if you have custom intel-ucode or auto-detect failed.) #
# * GRUB_BTRFS_IGNORE_SPECIFIC_PATH=("var/lib/docker" "nosnapshot") #
# (Ignore specific path during run "grub-mkconfig") #
# * GRUB_BTRFS_CREATE_ONLY_HARMONIZED_ENTRIES="false" #
# * GRUB_BTRFS_CREATE_ONLY_HARMONIZED_ENTRIES="true" #
# (Create entries with matching version number instead of all possible combinations of kernel and initramfs) #
# * GRUB_BTRFS_SNAPPER_CONFIG="root" #
# (Snapper's config name to use) #
Expand Down Expand Up @@ -104,7 +104,7 @@ show_total_snap_found=${GRUB_BTRFS_SHOW_TOTAL_SNAPSHOTS_FOUND:-"true"}
## Ignore specific path during run "grub-mkconfig"
ignore_specific_path=("${GRUB_BTRFS_IGNORE_SPECIFIC_PATH[@]}")
## create only entries with harmonized version numbers
harmonized_entries=${GRUB_BTRFS_CREATE_ONLY_HARMONIZED_ENTRIES:-"false"}
harmonized_entries=${GRUB_BTRFS_CREATE_ONLY_HARMONIZED_ENTRIES:-"true"}
## snapper's config name
snapper_config=${GRUB_BTRFS_SNAPPER_CONFIG:-"root"}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Add this lines to /etc/default/grub:

(Ignore specific path during run "grub-mkconfig")

* GRUB_BTRFS_CREATE_ONLY_HARMONIZED_ENTRIES="false"
* GRUB_BTRFS_CREATE_ONLY_HARMONIZED_ENTRIES="true"

(Create entries with matching version number instead of all possible combinations of kernel and initramfs, very useful with debian-like distributions)

Expand Down

0 comments on commit a5a96fa

Please sign in to comment.