Name: grub-btrfs Version: 4.14 Release: 1%{?dist} Summary: Include btrfs snapshots at boot options. (Grub menu) License: GPL-3.0 URL: https://github.com/Antynea/grub-btrfs Source: %{name}-%{version}.tar.gz Patch: fedora.patch BuildArch: noarch BuildRequires: make BuildRequires: systemd-rpm-macros Requires: grub2-common %description grub-btrfs improves the grub bootloader by adding a btrfs snapshots sub-menu, allowing the user to boot into snapshots. grub-btrfs supports manual snapshots as well as snapper, timeshift, and yabsnap created snapshots. - Automatically lists snapshots existing on the btrfs root partition. - Automatically detect if /boot is in a separate partition. - Automatically detect kernel, initramfs and Intel/AMD microcode in /boot directory within snapshots. - Automatically create corresponding menu entries in grub.cfg - Automatically detect the type/tags/triggers and descriptions/comments of Snapper/Timeshift/Yabsnap snapshots. - Automatically generate grub.cfg if you use the provided Systemd/ OpenRC service. %prep %autosetup -p -n %{name}-%{version} %install make DESTDIR=%buildroot install %post %systemd_post grub-btrfs.path %preun %systemd_preun grub-btrfs.path %postun %systemd_postun_with_restart grub-btrfs.path %files %license LICENSE %doc README.md %changelog %autochangelog