add patch to detect openmamba [release 1.66-2mamba;Fri Aug 21 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 08:19:17 +01:00
parent d079189588
commit 1d7f1ed5ec
2 changed files with 18 additions and 1 deletions

View File

@ -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")"

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.66-2mamba
- add patch to detect openmamba
* Tue Aug 04 2015 Automatic Build System <autodist@mambasoft.it> 1.66-1mamba
- automatic version update by autodist