add patch to detect openmamba [release 1.66-2mamba;Fri Aug 21 2015]
This commit is contained in:
parent
d079189588
commit
1d7f1ed5ec
12
os-prober-1.66-linux-distro-openmamba.patch
Normal file
12
os-prober-1.66-linux-distro-openmamba.patch
Normal 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")"
|
@ -1,6 +1,6 @@
|
|||||||
Name: os-prober
|
Name: os-prober
|
||||||
Version: 1.66
|
Version: 1.66
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Utility to detect other OSes on a set of drives
|
Summary: Utility to detect other OSes on a set of drives
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -9,6 +9,7 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|||||||
URL: http://joeyh.name/code/os-prober/
|
URL: http://joeyh.name/code/os-prober/
|
||||||
Source: http://ftp.de.debian.org/debian/pool/main/o/os-prober/os-prober_%{version}.tar.xz
|
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
|
Patch0: os-prober-1.61-openmamba-EFI-32_64_bit_mismatch.patch
|
||||||
|
Patch1: os-prober-1.66-linux-distro-openmamba.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -21,6 +22,7 @@ This package detects other OSes available on a system and outputs the results in
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n os-prober
|
%setup -q -n os-prober
|
||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make
|
%make
|
||||||
@ -86,6 +88,9 @@ install -d -m0755 %{buildroot}%{_localstatedir}/lib/os-prober
|
|||||||
%doc debian/copyright
|
%doc debian/copyright
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Aug 04 2015 Automatic Build System <autodist@mambasoft.it> 1.66-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user