New features:
- Adds the ability to boot on a read-only snapshot.
Refer to the documentation- 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
Improvement:
- Script
- Stop script if root partition isn't btrfs filesystem.
Add filesystem check on the root partition.
If the filesystem isn't btrfs, stop execution. - Update error message for btrfs-prog.
- Stop script if root partition isn't btrfs filesystem.
- Config file
- Add new path to ignore docker subvolume.
Many distributions now use "@" as the default subvolume.
Add the following path "@/var/lib/docker" to ignore the docker subvolume.
Fix: #110 - Add 2 disctincs parameter to ignore path during run
grub-mkconfig
.
GRUB_BTRFS_IGNORE_SPECIFIC_PATH=("")
and
GRUB_BTRFS_IGNORE_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. - Rename "GRUB_BTRFS_DIRNAME" to "GRUB_BTRFS_GRUB_DIRNAME"
Full path to Grub folder is now configurable (/boot is no longer hard coded).
Warning see - Adds GRUB_BTRFS_BOOT_DIRNAME
Used to detect the boot partition and the location of kernels/initrafms/microcodes
- Add new path to ignore docker subvolume.
Miscellaneous:
- Readme
- Update
Automatically update grub section
. - Move informations of
Customization section
to config file. - Updates the documentation to be able to boot on a read-only snapshot.
- Update
- Script
- Update header to reflect change on Automatically update grub section.
- Update header about read-only snapshots.
- Remove several variables not necessary.
- Makefile
- Add readme file
- Add readme file of initramfs-overlayfs
- Add HOOK/INSTALL files for Arch Linux
- If rmdir fails, other commands are not executed, so
move rmdir to end of uninstall section.