Package init

This commit is contained in:
overweight 2019-09-30 10:52:56 -04:00
commit bc0b60f53e
4 changed files with 107 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From 39e2f74eade1a0876beb36a131633900e7f44cbc Mon Sep 17 00:00:00 2001
From: kangenbo <kangenbo@huawei.com>
Date: Sat, 26 Jan 2019 10:18:33 -0500
Subject: [PATCH] bugfix-rename-some-pci-name.patch
---
pci.ids | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pci.ids b/pci.ids
index 00e958d..fd8a42b 100644
--- a/pci.ids
+++ b/pci.ids
@@ -21182,7 +21182,7 @@
3003 ioMemory Mezzanine
1aee Caustic Graphics Inc.
# nee Qumranet, Inc.
-1af4 Red Hat, Inc.
+1af4 Virtio:
1000 Virtio network device
1001 Virtio block device
1002 Virtio memory balloon
--
1.8.3.1

View File

@ -0,0 +1,37 @@
From 3c7cabf4d47ceff8dd85f27568d9c7fbd03e1b50 Mon Sep 17 00:00:00 2001
From: kangenbo <kangenbo@huawei.com>
Date: Mon, 28 Jan 2019 11:21:50 -0500
Subject: [PATCH] enhancement-update-Hi1822-info-in-pci-ids
---
pci.ids | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/pci.ids b/pci.ids
index 35bbbfb..0dcd0b0 100644
--- a/pci.ids
+++ b/pci.ids
@@ -30698,3 +30698,20 @@ C 12 Processing accelerators
C 13 Non-Essential Instrumentation
C 40 Coprocessor
C ff Unassigned class
+19e5 Huawei Technologies Co., Ltd.
+ 1822 Hi1822 Family (4*25GE)
+ 0201 Hi1822 Family (2*100GE)
+ 0202 Hi1822 Family (2*32G FC)
+ 0203 Hi1822 Family (2*16G FC)
+ 0204 Hi1822 Family (4*10GE)
+ 0205 Hi1822 Family (2*100GE)
+ 0208 Hi1822 Family (2*100GE)
+ 020B Hi1822 Family (4*25GE)
+ 020C Hi1822 Family (4*32G FC)
+ 020D Hi1822 Family (2*40GE)
+ 0210 Hi1822 Family (4*25GE)
+ 0211 Hi1822 Family (4*25GE)
+ 0212 Hi1822 Family (2*8G FC)
+ 375e Hi1822 Family Virtual Function
+ 379e Hi1822 Family Virtual Function
+ 371e Hi1822 Family Virtual Bridge
--
1.8.3.1

45
hwdata.spec Normal file
View File

@ -0,0 +1,45 @@
Name: hwdata
Version: 0.316
Release: 2
Summary: Record hardware identification and configuration data
License: GPLv2+
Source: https://github.com/vcrhonek/hwdata/archive/v%{version}.tar.gz
URL: https://github.com/vcrhonek/hwdata
BuildArch: noarch
Patch9000: enhancement-update-Hi1822-info-in-pci-ids.patch
Patch9001: bugfix-rename-some-pci-name.patch
%description
hwdata is used to record many hardware identification and configuration data,
such as the pnp.ids, usb.ids and pci.ids databases.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
%install
%make_install libdir=%{_prefix}/lib
%files
%doc LICENSE COPYING
%{_prefix}/lib/modprobe.d/dist-blacklist.conf
%{_datadir}/%{name}/*
%changelog
* Sat Apr 6 2019 luochunsheng<luochunsheng@huawei.com> - 0.316-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:remove sensitive information
* Mon Jan 28 2019 Enbo Kang<kangenbo@huawei.com> - 0.316-1.h2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:sync patches
* Fri Jan 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.316-1
- Package init

BIN
v0.316.tar.gz Normal file

Binary file not shown.