]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
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 3b4c96128290a1ba1a470593866fddf277a77b02..e8e627ff71487dce0c13c1088e4f92dd1d44ac43 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 a295c2eb220460f8b0068898c6c3db32d339acc4..ae8fef477429dd57d71e2b1470482eca664cf519 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