Fix a path problem in btrfsfix.patch, fixes #1529616

This commit is contained in:
Hedayat Vatankhah 2017-12-29 18:46:45 +03:30
parent a89794e7e8
commit a27e512119
2 changed files with 5 additions and 2 deletions

View File

@ -379,7 +379,7 @@ index 2951ef9..e33eb82 100755
+ mpoint="$tmpmnt" + mpoint="$tmpmnt"
+ fi + fi
+ +
+ test="/usr/libexec/os-probes/mounted/90linux-distro" + test="/usr/lib/os-probes/mounted/90linux-distro"
+ if [ -f "$test" ] && [ -x "$test" ]; then + if [ -f "$test" ] && [ -x "$test" ]; then
+ debug "running subtest $test" + debug "running subtest $test"
+ if "$test" "$partition" "$mpoint" btrfs "UUID=$UUID"; then + if "$test" "$partition" "$mpoint" btrfs "UUID=$UUID"; then

View File

@ -1,6 +1,6 @@
Name: os-prober Name: os-prober
Version: 1.74 Version: 1.74
Release: 3%{?dist} Release: 4%{?dist}
Summary: Probes disks on the system for installed operating systems Summary: Probes disks on the system for installed operating systems
Group: System Environment/Base Group: System Environment/Base
@ -86,6 +86,9 @@ fi
%{_var}/lib/%{name} %{_var}/lib/%{name}
%changelog %changelog
* Fri Dec 29 2017 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 1.74-4
- Fix a path problem in btrfsfix.patch, fixes #1529616
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.74-3 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.74-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild