cpufrequtils: update initskript for xz compressed modules
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 7 Dec 2018 20:05:50 +0000 (21:05 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 7 Dec 2018 20:05:50 +0000 (21:05 +0100)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/cpufrequtils
src/initscripts/packages/cpufreq

index 3b4c961..e8e627f 100644 (file)
@@ -33,7 +33,7 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 SUP_ARCH   = x86_64 i586
 PROG       = cpufrequtils
-PAK_VER    = 8
+PAK_VER    = 9
 
 DEPS       = ""
 
index a295c2e..ae8fef4 100644 (file)
@@ -21,7 +21,7 @@ case "${1}" in
 
                # try cpufreq hardware depend modules
                for i in $(find /lib/modules/$(uname -r)/kernel/drivers/cpufreq \
-                          ! -name speedstep-lib.ko ! -name p4-clockmod.ko ! -name "cpufreq_*" ! -name mperf.ko | sort -d -r); do
+                          ! -name speedstep-lib.ko.xz ! -name p4-clockmod.ko.xz ! -name "cpufreq_*" ! -name mperf.ko.xz | sort -d -r); do
                        module=$(basename $i | cut -d. -f1);
                        modprobe $module > /dev/null 2>&1;
                        if [ ${?} = 0 ]; then