linux-firmware: Updated ice firmware as per linux
- Replaced hardcoded firmware version
Change-Id: I321ff540540640a9e200e7eb2f5da402a8c7aff9
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/19411
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Ajay Kaher <akaher@vmware.com>
Reviewed-by: Srivatsa S. Bhat <srivatsab@vmware.com>
(cherry picked from commit da5217795f
)
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/19756
This commit is contained in:
parent
8e9b348432
commit
a1cfae86bf
|
@ -5,7 +5,7 @@
|
|||
|
||||
Summary: Linux Firmware
|
||||
Name: linux-firmware
|
||||
Version: 20221212
|
||||
Version: 20230207
|
||||
Release: 1%{?dist}
|
||||
License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
|
||||
URL: http://www.kernel.org/
|
||||
|
@ -13,7 +13,7 @@ Group: System Environment/Kernel
|
|||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
%define sha512 linux=1bcc6d4df91e11df6c04029774464628dddbed8602a12ce2b4636c977109f42dcc0e6eb761c7e755741e24950be1bf9510d8062589bdc66469a928d46cdda7e8
|
||||
%define sha512 %{name}=f8862c6a58a8a2d79da14fe4d64265407bd1a4062beb821494d1a2b738bae526feb61755f133317458aa1dcadf84275d49d8916d9cae13d291fbb69aa11c2e6b
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
|
@ -34,6 +34,8 @@ cp -r * %{buildroot}%{_firmwarepath}
|
|||
%{_firmwarepath}/*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 07 2023 Ankit Jain <ankitja@vmware.com> 20230207-1
|
||||
- Updated ice firmware version as per linux.spec
|
||||
* Mon Dec 12 2022 Ajay Kaher <akaher@vmware.com> 20221212-1
|
||||
- Updated to v20221212
|
||||
* Tue Sep 27 2022 Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu> 20220802-1
|
||||
|
|
|
@ -11,7 +11,7 @@ git clone git://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.
|
|||
git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git --depth=1
|
||||
# ICE driver firmware
|
||||
# Version should be same as provided in linux/linux-rt spec
|
||||
ice_version=1.3.2
|
||||
ice_version=$(curl --compressed "https://github.com/vmware/photon/blob/$(git branch | grep '^\*' | cut -d' ' -f2)/SPECS/linux/linux.spec" 2> /dev/null | grep -m 1 'ice_version' | cut -d'<' -f4 | cut -d' ' -f3)
|
||||
wget https://sourceforge.net/projects/e1000/files/ice%20stable/$ice_version/ice-$ice_version.tar.gz
|
||||
tar -xpf ice-$ice_version.tar.gz
|
||||
|
||||
|
@ -49,11 +49,12 @@ cp linux-firmware/intel/ibt-11-5.* $DST/intel/
|
|||
cp linux-firmware/LICENCE.ibt_firmware $DST/
|
||||
# ICE driver firmware and license
|
||||
mkdir -p $DST/updates/intel/ice/ddp
|
||||
cp ice-$ice_version/ddp/ice-1.3.20.0.pkg $DST/updates/intel/ice/ddp/
|
||||
cp ice-$ice_version/ddp/ice*.pkg $DST/updates/intel/ice/ddp/
|
||||
cp ice-$ice_version/ddp/LICENSE $DST/updates/intel/ice/ddp/
|
||||
chmod 0644 $DST/updates/intel/ice/ddp/ice-1.3.20.0.pkg
|
||||
chmod 0644 $DST/updates/intel/ice/ddp/ice*.pkg
|
||||
chmod 0644 $DST/updates/intel/ice/ddp/LICENSE
|
||||
ln -s ice-1.3.20.0.pkg $DST/updates/intel/ice/ddp/ice.pkg
|
||||
ice_pkg=$(find ice-$ice_version -name ice*.pkg | cut -d'/' -f3)
|
||||
ln -s $ice_pkg $DST/updates/intel/ice/ddp/ice.pkg
|
||||
|
||||
cp linux-firmware/iwlwifi-8000C-*.ucode $DST/
|
||||
cp linux-firmware/LICENCE.iwlwifi_firmware $DST/
|
||||
|
|
Loading…
Reference in New Issue