Remove code using device mapper

This commit is contained in:
yang_zhuang_zhuang 2021-05-26 17:07:13 +08:00
parent 6a22d8492c
commit 17043c2412

View File

@ -1,6 +1,6 @@
Name: os-prober
Version: 1.77
Release: 1
Release: 2
Summary: Probe disks on the system for other operating systems
License: GPLv2+ and GPL+
URL: http://kitenet.net/~joey/code/os-prober/
@ -15,7 +15,7 @@ Patch5: os-prober-grepfix.patch
Patch6: os-prober-gentoo-fix.patch
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
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' {} \;
sed -i -e 's|grub-probe|grub2-probe|g' os-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
%make_build
@ -82,6 +84,9 @@ fi
%{_libexecdir}/*
%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
- update os-prober to 1.77