Makefile:
Install target:
- Added "uninstall" and "help" target to ".phony".
- Hook initcpio will be installed only on Arch Linux like distributions.
Uninstall target:
- All commands are in silent mode.
- "rmdir" command will not interrupt the uninstallation if the folder does not exist.
- Remove "-r" option to "rm" command.
- Fix a mistake in deleting the "readme" file.
- Uninstalling the "grub-btrfs.cfg" file uses the "GRUB_BTRFS_GRUB_DIRNAME" variable.
- Delete initcpio folder if not on Arch.
- Delete "grub-btrfs" docs and licenses folders.
help target:
- Add "help" target.
grub-btrfs.service: remove unnecessary path for bash and grub-mkconfig command
readme.md: add warning section to systemd service section
config file: Improves the description of the variable GRUB_BTRFS_MKCONFIG
Corrects the duplicate that appeared
Line16 should be :
`@install -Dm644 "initramfs/Arch Linux/overlay_snap_ro-hook" "$(LIB_DIR)/initcpio/hooks/grub-btrfs-overlayfs" # Arch Linux only`
* Fix#116 (#118)
* Renames variable GRUB_BTRFS_DIRNAME to GRUB_BTRFS_GRUB_DIRNAME and improves its description
* Adds variable GRUB_BTRFS_BOOT_DIRNAME, used to detect the boot partition and the location of kernels/initrafms/microcodes
* Create a initramfs folder & configuration files
* create a initramfs folder
* create Arch Linux folder
* Add `HOOK/INSTALL` files to generate a custom initrafms for boot on read-only snapshot for Arch Linux.
* Add readme file to initramfs folder
* Makefile changes
* Add readme file
* Add readme file of initramfs-overlayfs
* Add HOOK/INSTALL files for Arch Linux
* Readme changes
* Updates the documentation to be able to boot on a read-only snapshot.
* Redesign readme again.
* Modify "GRUB_BTRFS_DIRNAME"
* Full path to Grub folder is now configurable (/boot is no longer hard coded).
* Detection of the boot partition is now based on the location of the Grub folder.
* Warning [see](https://github.com/Antynea/grub-btrfs/pull/113#issuecomment-705916729)
Modify the function which is used to ignore a path.
@ shouldn't be hardcoded.
Create 2 separate functions to ignore a specific path or prefix path.
In specific path, only exact paths are ignored.
In prefix path, any path starting with the specified string will be ignored.
e.g :
if specific path = @, only @ snapshot will be ignored.
if prefix path = @, all snapshots beginning with "@/..." will be ignored.
* Add more information
Add more information.
Due to the redesign of the "Customization" section of the readme file.
* Redesign customization section
Move information of customization section to config file
Timeshift use `/run/timeshift/backup/timeshift-btrfs/snapshots` mountpoint for its snapshots.
Timeshift users must modify the monitoring path:
```
[Path]
PathModified=/.snapshots
```
to
```
[Path]
PathModified=/run/timeshift/backup/timeshift-btrfs/snapshots
```
* Add password protection support for the submenu
Grub2 supports superuser and user access using passwords. #95
-Ability to add authorized users.
-Possibility to disable password protection for the submenu.
* Update config
* Update README.md
Btrfs filesystems may be slow when listing snapshots and calculating
space usage for each.
And that space information is not needed and never used in the scipt.
So, add --disable-ununsed-space to all calls to btrfs.
See: https://github.com/Antynea/grub-btrfs/issues/91
Co-authored-by: Peter G <nephros@pearl.crownest.nephros.org>
Previously, the kernel parameters came after the `rootflags=subvol=<snapshot>`
argument. This means that when the user's standard kernel parameters also
contain a `rootflags=subvol=<root>`, it will override the subvol flag of the
snapshot. So put the snapshot's subvol flag last.
Fix#72
The submenu generated by "grub-btrfs" doesn't load in the "GRUB menu."
Sometimes the Grub prefix and root variable don't match.
This ensures that the prefix variable is used to load the grub-btrfs.cfg file.
See
How to specify files
and
Special environment variables : root
and
Special environment variables : prefix