Group :: System/Kernel and hardware
RPM: grub-btrfs
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
Name: grub-btrfs
Version: 4.13
Release: alt2
Summary: Include btrfs snapshots at boot options. (Grub menu)
License: GPLv3
Group: System/Kernel and hardware
URL: https://github.com/Antynea/grub-btrfs
BuildArch: noarch
Source: %name-%version.tar
Patch1: grub-btrfs-4.13-alt-disable-root-check.patch
%description
Improves grub by adding "btrfs snapshots" to the grub menu.
You can boot your system on a "snapshot" from the grub menu.
Supports manual snapshots, snapper, timeshift ...
%prep
%setup
%patch1 -p1
%build
%make_build DESTDIR=%buildroot
%install
%makeinstall_std
mv %buildroot/usr/lib/ %buildroot/lib/
rm -v %buildroot/%_datadir/licenses/%name/LICENSE
%files
%config(noreplace) %_sysconfdir/default/%name/config
%doc LICENSE
%_sysconfdir/grub.d/41_snapshots-btrfs
%_unitdir/%{name}d.service
%_docdir/%name/README.md
%_docdir/%name/initramfs-overlayfs.md
%_bindir/%{name}d
%_man8dir/%name.8.xz
%_man8dir/%{name}d.8.xz
%changelog
…
Full changelog you can see here
Name: grub-btrfs
Version: 4.13
Release: alt2
Summary: Include btrfs snapshots at boot options. (Grub menu)
License: GPLv3
Group: System/Kernel and hardware
URL: https://github.com/Antynea/grub-btrfs
BuildArch: noarch
Source: %name-%version.tar
Patch1: grub-btrfs-4.13-alt-disable-root-check.patch
%description
Improves grub by adding "btrfs snapshots" to the grub menu.
You can boot your system on a "snapshot" from the grub menu.
Supports manual snapshots, snapper, timeshift ...
%prep
%setup
%patch1 -p1
%build
%make_build DESTDIR=%buildroot
%install
%makeinstall_std
mv %buildroot/usr/lib/ %buildroot/lib/
rm -v %buildroot/%_datadir/licenses/%name/LICENSE
%files
%config(noreplace) %_sysconfdir/default/%name/config
%doc LICENSE
%_sysconfdir/grub.d/41_snapshots-btrfs
%_unitdir/%{name}d.service
%_docdir/%name/README.md
%_docdir/%name/initramfs-overlayfs.md
%_bindir/%{name}d
%_man8dir/%name.8.xz
%_man8dir/%{name}d.8.xz
%changelog
…
Full changelog you can see here