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