From 17043c2412ed919ea4560dd02d079fa677328588 Mon Sep 17 00:00:00 2001 From: yang_zhuang_zhuang <1162011203@qq.com> Date: Wed, 26 May 2021 17:07:13 +0800 Subject: [PATCH] Remove code using device mapper --- os-prober.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/os-prober.spec b/os-prober.spec index b54134c..5a93d34 100644 --- a/os-prober.spec +++ b/os-prober.spec @@ -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 - 1.77-2 +- Remove code using device mapper + * Thu Jul 23 2020 linwei - 1.77-1 - update os-prober to 1.77