Skip to content

Commit

Permalink
Update Debian package version to 2.17.1-2
Browse files Browse the repository at this point in the history
Signed-off-by: Deokgyu Yang <[email protected]>
  • Loading branch information
awesometic committed Sep 10, 2023
1 parent 3194e8c commit 9fb6cba
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
realtek-r8152-dkms (2.17.1-2) stable; urgency=medium

* Add support for kernel 6.4.10 and above

-- Deokgyu Yang <[email protected]> Sun, 10 Sep 2023 11:59:32 +0900

realtek-r8152-dkms (2.17.1-1) stable; urgency=medium

* Update Realtek r8152 driver to 2.17.1
Expand Down
2 changes: 1 addition & 1 deletion debian/prerm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
set -e

NAME=realtek-r8152
VERSION=2.17.1
VERSION=2.17.2

msg() {
echo "realtek-r8152-dkms: $@"
Expand Down
2 changes: 1 addition & 1 deletion dkms-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

DRV_DIR="$(pwd)"
DRV_NAME=r8152
DRV_VERSION=2.17.1
DRV_VERSION=2.17.2

cp -r ${DRV_DIR} /usr/src/${DRV_NAME}-${DRV_VERSION}

Expand Down
2 changes: 1 addition & 1 deletion dkms-remove.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

DRV_DIR="$(pwd)"
DRV_NAME=r8152
DRV_VERSION=2.17.1
DRV_VERSION=2.17.2

dkms remove ${DRV_NAME}/${DRV_VERSION} --all
rm -rf /usr/src/${DRV_NAME}-${DRV_VERSION}
Expand Down
2 changes: 1 addition & 1 deletion dkms.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME="realtek-r8152"
PACKAGE_VERSION="2.17.1"
PACKAGE_VERSION="2.17.2"
PROCS_NUM=`nproc`
[ $PROCS_NUM -gt 16 ] && PROCS_NUM=16
MAKE="'make' -j$PROCS_NUM modules"
Expand Down

2 comments on commit 9fb6cba

@adi1
Copy link

@adi1 adi1 commented on 9fb6cba Sep 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you forgot to actually update the DRIVER_VERSION in r8152.c to 2.17.2, which is causing issues with the scripts. More precisely, it's impossible to uninstall the Debian package because the prerm script is trying to remove version 2.17.2, which is not in the dkms tree.

edit: I don't know what the right fix is, or if that is related actually. I just know that dkms status shows version 2.17.1 installed and any script which mentions 2.17.2 doesn't work. Maybe it's something specific to my system.

@awesometic
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you forgot to actually update the DRIVER_VERSION in r8152.c to 2.17.2, which is causing issues with the scripts. More precisely, it's impossible to uninstall the Debian package because the prerm script is trying to remove version 2.17.2, which is not in the dkms tree.

edit: I don't know what the right fix is, or if that is related actually. I just know that dkms status shows version 2.17.1 installed and any script which mentions 2.17.2 doesn't work. Maybe it's something specific to my system.

Oh you're right, it should not be changed because I intended to update the Debian package version, not the driver itself.
I will patch to fix this soon.

Please sign in to comment.