From 1d7f1ed5ec22b504143a2722846c35326b64c4a3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:19:17 +0100 Subject: [PATCH] add patch to detect openmamba [release 1.66-2mamba;Fri Aug 21 2015] --- os-prober-1.66-linux-distro-openmamba.patch | 12 ++++++++++++ os-prober.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 os-prober-1.66-linux-distro-openmamba.patch diff --git a/os-prober-1.66-linux-distro-openmamba.patch b/os-prober-1.66-linux-distro-openmamba.patch new file mode 100644 index 0000000..143ccc7 --- /dev/null +++ b/os-prober-1.66-linux-distro-openmamba.patch @@ -0,0 +1,12 @@ +--- os-prober/os-probes/mounted/common/90linux-distro.orig 2015-08-21 14:01:45.070007110 +0200 ++++ os-prober/os-probes/mounted/common/90linux-distro 2015-08-21 14:02:57.663012466 +0200 +@@ -23,6 +23,9 @@ + long="$(printf "Debian GNU/Linux (%s)\n" "$(cat "$dir/etc/debian_version")")" + # RPM derived distributions may also have a redhat-release or + # mandrake-release, so check their files first. ++ elif [ -e "$dir/etc/openmamba-release" ]; then ++ short="openmamba" ++ long="$(cat "$dir/etc/openmamba-release")" + elif [ -e "$dir/etc/altlinux-release" ]; then + short="ALTLinux" + long="$(cat "$dir/etc/altlinux-release")" diff --git a/os-prober.spec b/os-prober.spec index f50a612..61ba42e 100644 --- a/os-prober.spec +++ b/os-prober.spec @@ -1,6 +1,6 @@ Name: os-prober Version: 1.66 -Release: 1mamba +Release: 2mamba Summary: Utility to detect other OSes on a set of drives Group: System/Tools Vendor: openmamba @@ -9,6 +9,7 @@ Packager: Silvan Calarco URL: http://joeyh.name/code/os-prober/ Source: http://ftp.de.debian.org/debian/pool/main/o/os-prober/os-prober_%{version}.tar.xz Patch0: os-prober-1.61-openmamba-EFI-32_64_bit_mismatch.patch +Patch1: os-prober-1.66-linux-distro-openmamba.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -21,6 +22,7 @@ This package detects other OSes available on a system and outputs the results in %prep %setup -q -n os-prober #%patch0 -p1 +%patch1 -p1 %build %make @@ -86,6 +88,9 @@ install -d -m0755 %{buildroot}%{_localstatedir}/lib/os-prober %doc debian/copyright %changelog +* Fri Aug 21 2015 Silvan Calarco 1.66-2mamba +- add patch to detect openmamba + * Tue Aug 04 2015 Automatic Build System 1.66-1mamba - automatic version update by autodist