|
|
36e89a |
Name: biosdevname
|
|
|
36e89a |
Version: 0.7.3
|
|
|
36e89a |
Release: 2%{?dist}
|
|
|
36e89a |
Summary: Udev helper for naming devices per BIOS names
|
|
|
36e89a |
|
|
|
36e89a |
Group: System Environment/Base
|
|
|
36e89a |
License: GPLv2
|
|
|
36e89a |
URL: http://linux.dell.com/files/%{name}
|
|
|
36e89a |
# SMBIOS only exists on these arches. It's also likely that other
|
|
|
36e89a |
# arches don't expect the PCI bus to be sorted breadth-first, or of
|
|
|
36e89a |
# so, there haven't been any comments about that on LKML.
|
|
|
36e89a |
ExclusiveArch: %{ix86} x86_64
|
|
|
36e89a |
Source0: http://linux.dell.com/files/%{name}/%{name}-%{version}/%{name}-%{version}.tar.gz
|
|
|
36e89a |
|
|
|
36e89a |
BuildRequires: autoconf
|
|
|
36e89a |
BuildRequires: automake
|
|
|
36e89a |
BuildRequires: pciutils-devel
|
|
|
36e89a |
BuildRequires: zlib-devel
|
|
|
36e89a |
|
|
|
36e89a |
Patch0001: 0001-Add-support-for-ExaNIC-network-cards-5.patch
|
|
|
36e89a |
Patch0002: 0002-Prevent-infinite-recursion-in-dmidecode.c-smbios_set.patch
|
|
|
36e89a |
Patch0003: 0003-Netronome-biosdevname-support-8.patch
|
|
|
36e89a |
|
|
|
36e89a |
Patch0999: 0999-Place-udev-rules-to-usr-lib.patch
|
|
|
36e89a |
Patch1000: 1000-rules-disable-pirq-and-force-minimal-smbios-version.patch
|
|
|
36e89a |
Patch1001: 1001-rules-disable-biosdevname-by-default.patch
|
|
|
36e89a |
|
|
|
36e89a |
%description
|
|
|
36e89a |
biosdevname in its simplest form takes a kernel device name as an
|
|
|
36e89a |
argument, and returns the BIOS-given name it "should" be. This is necessary
|
|
|
36e89a |
on systems where the BIOS name for a given device (e.g. the label on
|
|
|
36e89a |
the chassis is "Gb1") doesn't map directly and obviously to the kernel
|
|
|
36e89a |
name (e.g. eth0).
|
|
|
36e89a |
|
|
|
36e89a |
%prep
|
|
|
36e89a |
%setup -q
|
|
|
36e89a |
%autopatch -p1
|
|
|
36e89a |
|
|
|
36e89a |
%build
|
|
|
36e89a |
autoreconf -fiv
|
|
|
36e89a |
%configure --prefix=%{_prefix}
|
|
|
36e89a |
make %{?_smp_mflags}
|
|
|
36e89a |
|
|
|
36e89a |
%install
|
|
|
36e89a |
make install install-data DESTDIR=%{buildroot}
|
|
|
36e89a |
|
|
|
36e89a |
%files
|
|
|
36e89a |
%defattr(-,root,root,-)
|
|
|
36e89a |
%doc COPYING README
|
|
|
36e89a |
%{_sbindir}/%{name}
|
|
|
36e89a |
%{_prefix}/lib/udev/rules.d/*.rules
|
|
|
36e89a |
%{_mandir}/man1/%{name}.1*
|
|
|
36e89a |
|
|
|
36e89a |
%changelog
|
|
|
36e89a |
* Mon Dec 17 2018 Michal Sekletár <msekleta@redhat.com> - 0.7.3-2
|
|
|
36e89a |
- make biosdevname optional even on Dell servers (#1623621)
|
|
|
36e89a |
- prevent infinite recursion in smbios_setslot() (#1499458)
|
|
|
36e89a |
- Netronome biosdevname support (#1649036)
|
|
|
36e89a |
|
|
|
36e89a |
* Fri Mar 23 2018 Michal Sekletar <msekleta@redhat.com> - 0.7.3-1
|
|
|
36e89a |
- rebase to biosdevname 0.7.3
|
|
|
36e89a |
|
|
|
36e89a |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-5
|
|
|
36e89a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
36e89a |
|
|
|
36e89a |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-4
|
|
|
36e89a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
36e89a |
|
|
|
36e89a |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-3
|
|
|
36e89a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
36e89a |
|
|
|
36e89a |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-2
|
|
|
36e89a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
36e89a |
|
|
|
36e89a |
* Fri Jun 26 2015 Michal Sekletar <msekleta@redhat.com> - 0.6.2-1
|
|
|
36e89a |
- Rebase to 0.6.2
|
|
|
36e89a |
|
|
|
36e89a |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-5
|
|
|
36e89a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
36e89a |
|
|
|
36e89a |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-4
|
|
|
36e89a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
36e89a |
|
|
|
36e89a |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-3
|
|
|
36e89a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
36e89a |
|
|
|
36e89a |
* Mon Sep 02 2013 Harald Hoyer <harald@redhat.com> 0.5.0-2
|
|
|
36e89a |
- not only NAME KERNEL=="eth*", but every ethernet device
|
|
|
36e89a |
|
|
|
36e89a |
* Tue Jul 30 2013 Václav Pavlín <vpavlin@redhat.com> - 0.5.0-1
|
|
|
36e89a |
- Updating the sources to 0.5.0 version. Following are the changes:
|
|
|
36e89a |
- Change scan of SMBIOS slot <-> PCI methods, recurse to set SMBIOS slot field
|
|
|
36e89a |
- Save off secondary bus of PCI device for PCI tree traversal
|
|
|
36e89a |
- Add version number to biosdevname
|
|
|
36e89a |
|
|
|
36e89a |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-4
|
|
|
36e89a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
36e89a |
|
|
|
36e89a |
* Wed Nov 14 2012 Václav Pavlín <vpavlin@redhat.com> - 0.4.1-3
|
|
|
36e89a |
- Source link update
|
|
|
36e89a |
|
|
|
36e89a |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
|
|
|
36e89a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
36e89a |
|
|
|
36e89a |
* Wed Jul 18 2012 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.4.1-1
|
|
|
36e89a |
- Fix autoconfig for Fedora systems
|
|
|
36e89a |
- Make sure that vpd scan only runs on Dell systems, also blacklist Atheros
|
|
|
36e89a |
wireless cards which hang when vpd is read.
|
|
|
36e89a |
- Add fixes to biosdevname to support cards that export multiple network
|
|
|
36e89a |
ports per PCI device (chelsio/mellanox).
|
|
|
36e89a |
|
|
|
36e89a |
|
|
|
36e89a |
|
|
|
36e89a |
* Thu May 3 2012 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.4.0-1
|
|
|
36e89a |
- Create detached signature
|
|
|
36e89a |
- Fix man page to use new naming convention
|
|
|
36e89a |
- Remove unused variables from Stephen Hemminger [shemminger@vyatta.com]
|
|
|
36e89a |
- Use Physical device for slot numbering for embedded SR-IOV cards
|
|
|
36e89a |
- Add tracking of ifindex to eths structure
|
|
|
36e89a |
- Fix naming for add-in network adapters when SMBIOS version is invalid
|
|
|
36e89a |
- Read VPD-R on Dell systems only
|
|
|
36e89a |
|
|
|
36e89a |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.11-6
|
|
|
36e89a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
36e89a |
|
|
|
36e89a |
* Tue Oct 4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-5
|
|
|
36e89a |
- Added automake as a build dependency
|
|
|
36e89a |
|
|
|
36e89a |
* Tue Oct 4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-4
|
|
|
36e89a |
- Added autoconf as a build dependency
|
|
|
36e89a |
|
|
|
36e89a |
* Tue Oct 4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-3
|
|
|
36e89a |
- Generating the configure script if it doesn't exist
|
|
|
36e89a |
|
|
|
36e89a |
* Tue Oct 4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-2
|
|
|
36e89a |
- Fixed the dir structure inside the archive
|
|
|
36e89a |
|
|
|
36e89a |
* Tue Oct 4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-1
|
|
|
36e89a |
- Updating the sources to 0.3.11 version. Following are the changes:
|
|
|
36e89a |
- Fix man page for PCI slot naming
|
|
|
36e89a |
- Fix clearing of buffer for NPAR/SRIOV naming
|
|
|
36e89a |
- Add --nopirq and --smbios options to manpage.
|
|
|
36e89a |
- Verify length of VPD on network device
|
|
|
36e89a |
- Close file handle on sysfs read
|
|
|
36e89a |
- Fix naming policy for NPAR devices.
|
|
|
36e89a |
Match each PCI device to its VPD 'physical' device to get correct index
|
|
|
36e89a |
- Exclude building on ia64 arch
|
|
|
36e89a |
- Add support functions for determining PCIE slot
|
|
|
36e89a |
- Scan full path to parent when getting PCIE slot
|
|
|
36e89a |
- Fix NPAR naming for add-in cards
|
|
|
36e89a |
- Don't display _vf suffix on NPAR devices with single function
|
|
|
36e89a |
- Fix PCIe/PIRQ slot mapping
|
|
|
36e89a |
|
|
|
36e89a |
* Thu Apr 21 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.8-1
|
|
|
36e89a |
- Add changes to parse VPD structure for device mapping on NPAR devices
|
|
|
36e89a |
- Fix pathname
|
|
|
36e89a |
- Cleanup and comment NPAR code
|
|
|
36e89a |
- Fix debian packaging rules to regenerate configure script
|
|
|
36e89a |
- Change pciX to pX for shortened names for PCI add-on devices
|
|
|
36e89a |
- Fix manpage typo
|
|
|
36e89a |
- Delete CR-LF in script
|
|
|
36e89a |
- Change default signing key
|
|
|
36e89a |
- Add command line arguments for checking SMBIOS version and ignore $PIRQ.
|
|
|
36e89a |
|
|
|
36e89a |
* Thu Feb 17 2011 Matt Domsch <Matt_Domsch@dell.com> - 0.3.7-1
|
|
|
36e89a |
- drop dump_pirq, suggest use biosdecode instead
|
|
|
36e89a |
- don't use '#' in names, use 'p' instead, by popular demand
|
|
|
36e89a |
- properly look for SMBIOS, then $PIR, then recurse
|
|
|
36e89a |
- Add kernel command line parameter "biosdevname={0|1}" to turn off/on biosdevname
|
|
|
36e89a |
- Fix segfault when BIOS advertises zero sized PIRQ Routing Table
|
|
|
36e89a |
- Add 'bonding' and 'openvswitch' to the virtual devices list
|
|
|
36e89a |
- fail PIRQ lookups if device domain is not 0
|
|
|
36e89a |
- Don't suggest names if running in a virtual machine (Xen, KVM,
|
|
|
36e89a |
VMware tested, but should work on others)
|
|
|
36e89a |
- Typo fixes
|
|
|
36e89a |
|
|
|
36e89a |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-2
|
|
|
36e89a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
36e89a |
|
|
|
36e89a |
* Tue Jan 25 2011 Matt Domsch <Matt_Domsch@dell.com> - 0.3.6-1
|
|
|
36e89a |
- drop biosdevnameS, it's unused and fails to build on F15
|
|
|
36e89a |
|
|
|
36e89a |
* Tue Jan 25 2011 Matt Domsch <Matt_Domsch@dell.com> - 0.3.5-1
|
|
|
36e89a |
- install dump_pirq into /usr/sbin
|
|
|
36e89a |
- fix udev rule, skip running if NAME is already set
|
|
|
36e89a |
- move udev rule to /lib/udev/rules.d by default
|
|
|
36e89a |
|
|
|
36e89a |
* Thu Dec 16 2010 Matt Domsch <mdomsch@fedoraproject.org> - 0.3.4-1
|
|
|
36e89a |
- drop unnecessary explicit version requirement on udev
|
|
|
36e89a |
- bugfix: start indices at 1 not 0, to match Dell and HP server port designations
|
|
|
36e89a |
- bugfix: don't assign names to unknown devices
|
|
|
36e89a |
- bugfix: don't assign duplicate names
|
|
|
36e89a |
|
|
|
36e89a |
* Thu Dec 9 2010 Matt Domsch <Matt_Domsch@dell.com> - 0.3.3-1
|
|
|
36e89a |
- add back in use of PCI IRQ Routing Table, if info is not provided by
|
|
|
36e89a |
sysfs or SMBIOS
|
|
|
36e89a |
|
|
|
36e89a |
* Thu Dec 2 2010 Matt Domsch <Matt_Domsch@dell.com> - 0.3.2-1
|
|
|
36e89a |
- fix for multi-port cards with bridges
|
|
|
36e89a |
- removal of code for seriously obsolete systems
|
|
|
36e89a |
|
|
|
36e89a |
* Sun Nov 28 2010 Matt Domsch <Matt_Domsch@dell.com> 0.3.1-1
|
|
|
36e89a |
- remove all policies except 'physical' and 'all_ethN'
|
|
|
36e89a |
- handle SR-IOV devices properly
|
|
|
36e89a |
|
|
|
36e89a |
* Wed Nov 10 2010 Matt Domsch <Matt_Domsch@dell.com> 0.3.0-1
|
|
|
36e89a |
- add --policy=loms, make it default
|
|
|
36e89a |
- read index and labels from sysfs if available
|
|
|
36e89a |
|
|
|
36e89a |
* Mon Jul 27 2009 Jordan Hargrave <Jordan_Hargrave@dell.com> 0.2.5-1
|
|
|
36e89a |
- fix mmap error checking
|
|
|
36e89a |
|
|
|
36e89a |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-7
|
|
|
36e89a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
36e89a |
|
|
|
36e89a |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-6
|
|
|
36e89a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
36e89a |
|
|
|
36e89a |
* Tue May 06 2008 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-5
|
|
|
36e89a |
- use policy=all_names to find breakage
|
|
|
36e89a |
|
|
|
36e89a |
* Sun Feb 10 2008 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-4
|
|
|
36e89a |
- rebuild for gcc43
|
|
|
36e89a |
|
|
|
36e89a |
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-3
|
|
|
36e89a |
- fix manpage entry in files
|
|
|
36e89a |
|
|
|
36e89a |
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-2
|
|
|
36e89a |
- rebuild with Requires: udev > 115-3.20070920git
|
|
|
36e89a |
|
|
|
36e89a |
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-1
|
|
|
36e89a |
- coordinate udev rules usage with udev maintainer
|
|
|
36e89a |
- fix crashes in pcmcia search, in_ethernet(), and incorrect command
|
|
|
36e89a |
line parsing.
|
|
|
36e89a |
|
|
|
36e89a |
* Mon Aug 27 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.3-1
|
|
|
36e89a |
- eliminate libbiosdevname.*, pre and post scripts
|
|
|
36e89a |
|
|
|
36e89a |
* Fri Aug 24 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.2-1
|
|
|
36e89a |
- ExclusiveArch those arches with SMBIOS and PCI IRQ Routing tables
|
|
|
36e89a |
- eliminate libsysfs dependency, move app to / for use before /usr is mounted.
|
|
|
36e89a |
- build static
|
|
|
36e89a |
|
|
|
36e89a |
* Mon Aug 20 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.1-1
|
|
|
36e89a |
- initial release
|