Changeset 38248


Ignore:
Timestamp:
2013-09-28T15:12:42+02:00 (4 years ago)
Author:
jow
Message:

ubox: fix kmod loading for modules with varying dashes & underscores in names (#14182, #14189)

Instead of canonicalizing module names in the internal avl tree simpyl use a
custom strcmp() variant for the avl tree key comparisation. The custom comperator
simply treats dashes and underscores the same, so "nls_iso8859-15" is equal to
"nls-iso8859-15".

This allows us to simplify the code considerably and makes manual "modprobe"
invocations more forgiving when looking up the given module name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/system/ubox/Makefile

    r38019 r38248  
    22 
    33PKG_NAME:=ubox 
    4 PKG_VERSION:=2013-09-17 
     4PKG_VERSION:=2013-09-28 
    55PKG_RELEASE=$(PKG_SOURCE_VERSION) 
    66 
     
    88PKG_SOURCE_URL:=git://nbd.name/luci2/ubox.git 
    99PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 
    10 PKG_SOURCE_VERSION:=cc07b0b7ac66d0e4a05470dd69a28305405cd7dd 
     10PKG_SOURCE_VERSION:=8baea575d7314f36649e7c85a90715e199dc0f46 
    1111PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz 
    1212CMAKE_INSTALL:=1 
Note: See TracChangeset for help on using the changeset viewer.