!9 Remove code using device mapper
From: @yang_zhuang_zhuang Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
ab7bfedca0
@ -1,6 +1,6 @@
|
|||||||
Name: os-prober
|
Name: os-prober
|
||||||
Version: 1.77
|
Version: 1.77
|
||||||
Release: 1
|
Release: 2
|
||||||
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/
|
||||||
@ -15,7 +15,7 @@ Patch5: os-prober-grepfix.patch
|
|||||||
Patch6: os-prober-gentoo-fix.patch
|
Patch6: os-prober-gentoo-fix.patch
|
||||||
|
|
||||||
BuildRequires: gcc git
|
BuildRequires: gcc git
|
||||||
Requires: udev coreutils util-linux grep /bin/sed /sbin/modprobe device-mapper
|
Requires: udev coreutils util-linux grep /bin/sed /sbin/modprobe grub2-tools-minimal
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Os-prober can probe disks on the system for other operating systems,
|
Os-prober can probe disks on the system for other operating systems,
|
||||||
@ -27,6 +27,8 @@ make your other installed OS hard to boot.
|
|||||||
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
|
%make_build
|
||||||
@ -82,6 +84,9 @@ fi
|
|||||||
%{_libexecdir}/*
|
%{_libexecdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 26 2021 yangzhuangzhuang<yangzhuangzhuang1@huawei.com> - 1.77-2
|
||||||
|
- Remove code using device mapper
|
||||||
|
|
||||||
* Thu Jul 23 2020 linwei<linwei54@huawei.com> - 1.77-1
|
* Thu Jul 23 2020 linwei<linwei54@huawei.com> - 1.77-1
|
||||||
- update os-prober to 1.77
|
- update os-prober to 1.77
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user