From c7076f35cbc904a77289f04a5e21f8db6c0703d2 Mon Sep 17 00:00:00 2001 From: Hedayat Vatankhah Date: Wed, 15 May 2019 01:03:48 +0430 Subject: [PATCH] Update to 1.77, use grub2-mount rather than device mapper for mounts --- .gitignore | 1 + os-prober.spec | 13 +++++++++---- sources | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 0993022..005b15a 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /os-prober_1.70.tar.xz /os-prober_1.71.tar.xz /os-prober_1.74.tar.xz +/os-prober_1.77.tar.xz diff --git a/os-prober.spec b/os-prober.spec index e501dc5..34aa58a 100644 --- a/os-prober.spec +++ b/os-prober.spec @@ -1,6 +1,6 @@ Name: os-prober -Version: 1.74 -Release: 8%{?dist} +Version: 1.77 +Release: 1%{?dist} Summary: Probes disks on the system for installed operating systems # For more information about licensing, see copyright file. @@ -23,7 +23,7 @@ Patch10: os-prober-gentoo-fix.patch Requires: udev coreutils util-linux Requires: grep /bin/sed /sbin/modprobe -Requires: device-mapper +Requires: grub2-tools-minimal BuildRequires: gcc git @@ -33,11 +33,13 @@ in a generic machine-readable format. Support for new OSes and Linux distributions can be added easily. %prep -%autosetup -n %{name} -S git +%autosetup -n %{name}-%{version} -S git 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 CFLAGS="%{optflags}" @@ -85,6 +87,9 @@ fi %{_var}/lib/%{name} %changelog +* Tue May 14 2019 Hedayat Vatankhah - 1.77-1 +- Update to 1.77, use grub2-mount rather than device mapper for mounts + * Fri Feb 01 2019 Fedora Release Engineering - 1.74-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index f5258cc..cc2d7b8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (os-prober_1.74.tar.xz) = 5407fb3c782ae0532120995d60cfc307028de9bea52ce5534baaf940a99269b735c1174ef0f7a5316be485a1e8bfd097108c2819eadf00e2e38595bfc2c22245 +SHA512 (os-prober_1.77.tar.xz) = 4d9c22ccc4d950644a06a17ec4424aca5ff82aeb20052dc389dd451b6b9a1799c5a9438644a29093153730af42066abbbbb78f593f2564314c9adbd43f60e39b