Hello community,

here is the log from the commit of package suse-module-tools for 
openSUSE:Factory checked in at 2014-04-22 16:59:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-module-tools (Old)
 and      /work/SRC/openSUSE:Factory/.suse-module-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "suse-module-tools"

Changes:
--------
--- /work/SRC/openSUSE:Factory/suse-module-tools/suse-module-tools.changes      
2014-04-11 14:40:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.suse-module-tools.new/suse-module-tools.changes 
2014-04-22 16:59:56.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Apr 15 14:32:55 UTC 2014 - [email protected]
+
+- weak-modules2: Use lsinitrd to list the modules in an initrd, so
+  that initrds with early microcode work (bnc#873209, bnc#873113).
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ weak-modules2 ++++++
--- /var/tmp/diff_new_pack.qMx5kZ/_old  2014-04-22 16:59:57.000000000 +0200
+++ /var/tmp/diff_new_pack.qMx5kZ/_new  2014-04-22 16:59:57.000000000 +0200
@@ -75,7 +75,7 @@
 }
 
 filter_basenames() {
-    sed -rn 's:/?lib/modules/.*/([^/]*\.ko)$:\1:p'
+    sed -rn 's:.*\<lib/modules/.*/([^/]*\.ko)$:\1:p'
 }
 
 # Name of the symlink that makes a module available to a given kernel
@@ -297,8 +297,7 @@
     xz -cd "$file"
 }
 
-# test if mkinitrd is needed for $krel. This should be decided by initrd itself
-# actually
+# test if mkinitrd is needed for $krel.
 # stdin - list of changed modules ("_kernel_" for the whole kernel)
 needs_mkinitrd() {
     local krel=$1
@@ -327,7 +326,7 @@
     if [ ! -e /boot/initrd-$krel ]; then
        return 0
     fi
-    local initrd_basenames=($( (uncomp /boot/initrd-$krel | cpio -t --quiet | 
filter_basenames; INITRD_MODULES=; . /etc/sysconfig/kernel &>/dev/null; printf 
'%s.ko\n' $INITRD_MODULES) | sort -u))
+    local initrd_basenames=($( (lsinitrd /boot/initrd-$krel | 
filter_basenames; INITRD_MODULES=; . /etc/sysconfig/kernel &>/dev/null; printf 
'%s.ko\n' $INITRD_MODULES) | sort -u))
     local i=($(join <(printf '%s\n' "${changed_basenames[@]}") \
                    <(printf '%s\n' "${initrd_basenames[@]}") ))
     log "changed initrd modules for kernel $krel: ${i[@]-none}"

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to