Hello community, here is the log from the commit of package module-init-tools checked in at Thu Aug 3 00:29:31 CEST 2006. -------- --- module-init-tools/module-init-tools.changes 2006-06-22 17:16:06.000000000 +0200 +++ module-init-tools/module-init-tools.changes 2006-08-02 19:00:49.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Aug 2 19:04:04 CEST 2006 - agruen@suse.de + +- Fix weak-modules bug that leaves around broken symlinks to + compatible modules (94334). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ module-init-tools.spec ++++++ --- /var/tmp/diff_new_pack.tVKVgt/_old 2006-08-03 00:29:11.000000000 +0200 +++ /var/tmp/diff_new_pack.tVKVgt/_new 2006-08-03 00:29:11.000000000 +0200 @@ -13,7 +13,7 @@ Name: module-init-tools BuildRequires: dietlibc dietzlib docbook-utils xmlcharent Version: 3.2.2 -Release: 35 +Release: 36 %define ver 3.2.2 License: GPL Group: System/Kernel @@ -148,6 +148,9 @@ /etc/modprobe.d %changelog -n module-init-tools +* Wed Aug 02 2006 - agruen@suse.de +- Fix weak-modules bug that leaves around broken symlinks to + compatible modules (94334). * Thu Jun 22 2006 - schwab@suse.de - Set mandir. * Thu May 18 2006 - mjancar@suse.cz ++++++ weak-modules ++++++ --- module-init-tools/weak-modules 2006-04-28 12:14:45.000000000 +0200 +++ module-init-tools/weak-modules 2006-08-02 19:00:49.000000000 +0200 @@ -55,7 +55,7 @@ [ -n "$verbose" ] && echo "Module ${module##*/} from kernel $module_krel is not compatible" \ "with kernel $krel in symbols:" $(sed -e 's:.* ::' $tmpdir/join) - else + elif [ "$krel" != "$module_krel" ]; then [ -n "$verbose" ] && echo "Module ${module##*/} from kernel $module_krel is compatible" \ "with kernel $krel" @@ -243,13 +243,13 @@ module_krel=${module_krels[n]} subpath=${module#/lib/modules/$module_krel/updates} weak_module=/lib/modules/$krel/weak-updates/${subpath#/} - if [ "$module" -ef "$weak_module" ]; then + if [ "$(readlink "$weak_module")" = "$module" ]; then [ -n "$verbose" ] && echo \ -"Removing compatible module ${module##*/} from kernel $krel" +"Removing compatible module ${subpath#/} from kernel $krel" doit rm -f "$weak_module" for krel2 in "${krels[@]}"; do [ -e /boot/symvers-$krel2.gz ] || continue - module=/lib/modules/$krel2/updates/$subpath + module=/lib/modules/$krel2/updates/${subpath#/} [ -e "$module" ] || continue if module_is_compatible "$module" "$krel2"; then [ -n "$verbose" ] && echo \ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...