Update to 1.77, use grub2-mount rather than device mapper for mounts

This commit is contained in:
Hedayat Vatankhah 2019-05-15 01:03:48 +04:30
parent 9b58833cd7
commit c7076f35cb
3 changed files with 11 additions and 5 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@
/os-prober_1.70.tar.xz /os-prober_1.70.tar.xz
/os-prober_1.71.tar.xz /os-prober_1.71.tar.xz
/os-prober_1.74.tar.xz /os-prober_1.74.tar.xz
/os-prober_1.77.tar.xz

View File

@ -1,6 +1,6 @@
Name: os-prober Name: os-prober
Version: 1.74 Version: 1.77
Release: 8%{?dist} Release: 1%{?dist}
Summary: Probes disks on the system for installed operating systems Summary: Probes disks on the system for installed operating systems
# For more information about licensing, see copyright file. # For more information about licensing, see copyright file.
@ -23,7 +23,7 @@ Patch10: os-prober-gentoo-fix.patch
Requires: udev coreutils util-linux Requires: udev coreutils util-linux
Requires: grep /bin/sed /sbin/modprobe Requires: grep /bin/sed /sbin/modprobe
Requires: device-mapper Requires: grub2-tools-minimal
BuildRequires: gcc git BuildRequires: gcc git
@ -33,11 +33,13 @@ in a generic machine-readable format. Support for new OSes and Linux
distributions can be added easily. distributions can be added easily.
%prep %prep
%autosetup -n %{name} -S git %autosetup -n %{name}-%{version} -S git
find -type f -exec sed -i -e 's|usr/lib|usr/libexec|g' {} \; find -type f -exec sed -i -e 's|usr/lib|usr/libexec|g' {} \;
sed -i -e 's|grub-probe|grub2-probe|g' os-probes/common/50mounted-tests \ sed -i -e 's|grub-probe|grub2-probe|g' os-probes/common/50mounted-tests \
linux-boot-probes/common/50mounted-tests linux-boot-probes/common/50mounted-tests
sed -i -e 's|grub-mount|grub2-mount|g' os-probes/common/50mounted-tests \
linux-boot-probes/common/50mounted-tests common.sh
%build %build
%make_build CFLAGS="%{optflags}" %make_build CFLAGS="%{optflags}"
@ -85,6 +87,9 @@ fi
%{_var}/lib/%{name} %{_var}/lib/%{name}
%changelog %changelog
* Tue May 14 2019 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 1.77-1
- Update to 1.77, use grub2-mount rather than device mapper for mounts
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.74-8 * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.74-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (os-prober_1.74.tar.xz) = 5407fb3c782ae0532120995d60cfc307028de9bea52ce5534baaf940a99269b735c1174ef0f7a5316be485a1e8bfd097108c2819eadf00e2e38595bfc2c22245 SHA512 (os-prober_1.77.tar.xz) = 4d9c22ccc4d950644a06a17ec4424aca5ff82aeb20052dc389dd451b6b9a1799c5a9438644a29093153730af42066abbbbb78f593f2564314c9adbd43f60e39b