Skip to content

v4.11

Compare
Choose a tag to compare
@Antynea Antynea released this 29 Nov 18:20
· 105 commits to master since this release
79ae25e

Improvement:

Script:

  • Grub-menu:

    • Now displays the following information in separate columns:
      • Date of snapshot
      • Path of snapshot
      • Type/Tags of snapshot if available (snapper/timeshift)
      • Description/Comments of snapshot if available (snapper/timeshift)
    • Possibility to display only the desired information(s) (see config file).
    • Adds a header for the column title.
  • Boot partition detection:

    • grub-btrfs is now able to detect if the boot folder/partition is a subvolume.
      • GRUB_BTRFS_OVERRIDE_BOOT_PARTITION_DETECTION should no longer be needed for this case.
  • Make path of grub-mkconfig_lib configurable:

    • Remove datarootdir variable, is no longer used
    • Replace $datarootdir/grub/grub-mkconfig_lib with ${GRUB_BTRFS_MKCONFIG_LIB:-/usr/share/grub/grub-mkconfig_lib}

Config file:

  • GRUB_BTRFS_TITLE_FORMAT:

    • Shows/Hides "date" "snapshot" "type" "description" in the Grub menu, custom order available.
      Default: ("date" "snapshot" "type" "description")
  • GRUB_BTRFS_IGNORE_SNAPPER_TYPE:

    • Rename to GRUB_BTRFS_IGNORE_SNAPSHOT_TYPE
      • Supports both timeshift and snapper tags/type.
  • GRUB_BTRFS_IGNORE_SNAPPER_DESCRIPTION:

    • Rename to GRUB_BTRFS_IGNORE_SNAPSHOT_DESCRIPTION
      • Supports both snapper and timeshift description/comments.
  • GRUB_BTRFS_OVERRIDE_BOOT_PARTITION_DETECTION:

    • grub-btrfs is now able to detect if the boot folder/partition is a subvolume.
      Activating this parameter should no longer be necessary for this case.
  • GRUB_BTRFS_SCRIPT_CHECK:

    • Make name of grub-script-check configurable.
      • Might be grub2-script-check on some systems (Fedora ...).
  • GRUB_BTRFS_MKCONFIG_LIB:

    • Make path of grub-mkconfig_lib file configurable.
      • Might be /usr/share/grub2/grub-mkconfig_lib on some systems (Opensuse ...)

OpenRC support update:

  • Adding an OpenRC deamon, see #178.

Makefile:

  • Install target:

    • Adds two new parameters SYSTEMD and OPENRC:
      • Allows users to explicitely turn on inclusion of the systemd or OpenRC files.
      • By default systemd files are installed, invoked make SYSTEMD=false OPENRC=true install to install OpenRC files instead.
  • Help target:

    • Include systemd files (make parameter SYSTEMD).
    • Include OpenRC files (make parameter OPENRC).

Readme:

  • Update Automatically update grub section:
    • Update OpenRC instructions.

Miscellaneous:

Script:

  • Snapper:

    • Now, the information is retrieved from the info.xml file.
  • Timeshift:

    • Now, the information is retrieved from the info.json file.
  • Ignore snapper/timeshift snapshot as soon as possible.

  • Show full path snapshot or only name:

    • Remove, this feature never worked correctly.
  • Probe informations from device:

    • Add the UUID of the root and boot subvolumes.
  • GRUB_BTRFS_PREFIXENTRY is remove.

  • Variables:

    • Rename some variables.
  • Header:

    • Update the header to reflect the changes.
  • Replace grub_script_check variable with GRUB_BTRFS_SCRIPT_CHECK, see config file.

  • Adds missing initrd

Config file:

  • GRUB_BTRFS_PREFIXENTRY:

    • Remove, no longer use.
  • GRUB_BTRFS_DISPLAY_PATH_SNAPSHOT:

    • Remove, no longer use.
  • GRUB_BTRFS_PREFIXENTRY:

    • Remove, no longer use.
  • GRUB_BTRFS_DISPLAY_PATH_SNAPSHOT:

    • Remove, no longer use.

Readme:

  • Update What does grub-btrfs v4.xx do section

    • Adds support for timeshift tags/comments.
  • Update Installation section

    • Update of dependencies required for manual installation.
    • Adds make help