Skip to content

Put version comparison before info comparison#227

Merged
scaronni merged 1 commit intodkms-project:masterfrom
imtangmeng:master
Jun 24, 2022
Merged

Put version comparison before info comparison#227
scaronni merged 1 commit intodkms-project:masterfrom
imtangmeng:master

Conversation

@imtangmeng
Copy link
Contributor

The priority of version comparison should be higher than
the priority of module content comparison. Sometimes when
we need to fix some bugfixes, there may be no difference
when comparing module content, resulting in dkms not being
able to be installed and still keeping the drivers in the
original system. If we compare the versions first, and if the
version is higher than the driver version in the current system,
we replace it and then can solve this problem.

Signed-off-by: Meng Tang tangmeng@uniontech.com

The priority of version comparison should be higher than
the priority of module content comparison. Sometimes when
we need to fix some bugfixes, there may be no difference
when comparing module content, resulting in dkms not being
able to be installed and still keeping the drivers in the
original system. If we compare the versions first, and if the
version is higher than the driver version in the current system,
we replace it and then can solve this problem.

Signed-off-by: Meng Tang <tangmeng@uniontech.com>
@scaronni scaronni merged commit 806e58e into dkms-project:master Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants