Projects
Essentials
r8168
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 31
View file
r8168.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Nov 25 10:11:50 UTC 2024 - Dr. Werner Fink <werner@suse.de> + +- Make it build below SLE-15-SP7 even if kernel version 6.4 + includes a feature for ethtool from kernel version 6.9 + +------------------------------------------------------------------- Tue May 21 10:35:10 UTC 2024 - Dr. Werner Fink <werner@suse.de> - Update to new version r8168-8.053.00
View file
r8168.spec
Changed
@@ -61,6 +61,9 @@ blacklisted to enable the system to load the new device driver r8168. %prep +version=$(readlink /usr/src/linux | sed -r 's/linux-//;s/-.*//;s/\./,/g') + "$version" =~ 0-9+,0-9+,0-9+ || \ +version=$(uname -r|sed -r 's/-.*//;s/\./,/g') %setup -q %patch -P 0 -b .p0 %patch -P 1 -b .p1 @@ -77,13 +80,11 @@ if test -n "$argc" -a "$argc" -eq 3 then %patch -P 3 -p1 -b .p3 + sed -ri "/KERNEL_VERSION/{s/\(6,9,0\)/(${version})/}" src/r8168_n.c fi fi if test -e /usr/src/linux/include/net/gso.h then - version=$(readlink /usr/src/linux | sed -r 's/linux-//;s/-.*//;s/\./,/g') - "$version" =~ 0-9+,0-9+,0-9+ || \ - version=$(uname -r|sed -r 's/-.*//;s/\./,/g') sed -ri "/KERNEL_VERSION/{s/\(6,4,10\)/(${version})/}" src/r8168_n.c fi cp %{S:1} .
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.