!3 fix os-prober command failed.

Merge pull request !3 from Sdrkun/sdrkun-dev
This commit is contained in:
openeuler-ci-bot 2020-02-27 21:38:51 +08:00 committed by Gitee
commit 1d0643502c

View File

@ -1,6 +1,6 @@
Name: os-prober Name: os-prober
Version: 1.74 Version: 1.74
Release: 11 Release: 12
Summary: Probe disks on the system for other operating systems Summary: Probe disks on the system for other operating systems
License: GPLv2+ and GPL+ License: GPLv2+ and GPL+
URL: http://kitenet.net/~joey/code/os-prober/ URL: http://kitenet.net/~joey/code/os-prober/
@ -26,7 +26,7 @@ make your other installed OS hard to boot.
%prep %prep
%autosetup -n %{name}-%{version} -Sgit %autosetup -n %{name}-%{version} -Sgit
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
@ -84,6 +84,9 @@ fi
%{_libexecdir}/* %{_libexecdir}/*
%changelog %changelog
* Thu Feb 27 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.74-12
- fix os-prober command failed.
* Mon Jan 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.74-11 * Mon Jan 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.74-11
- Delete useless files. - Delete useless files.