On Sun, 2010-05-09 at 14:05 +0200, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sunday, 2010-05-09 at 02:47 +0200, I wrote:
Well, that script (/usr/lib/module-init-tools/weak-modules2) comes with module-init-tools-3.10-3.2 in my 11.2. Perhaps it is a new script, so your system doesn't have it. My 11.0 is not up right now, I can't check. Maybe the packager of your kernel also has a new set of tools, and he forgot to say, or they weren't pulled in by dependencies, so you don't have it.
Dunno if I make sense. I'm of to bed. :-)
Quick note: my 11.0 586 machine has a "/usr/lib/module-init-tools/weak-modules" file, no "2" in there. The functionality could be similar.
I suggest you have a look inside an official kernel rpm for this distro version, and find out how they create the depmod thing. I'm of in a hurry, can't do now.
On my 11.1 i586 I have both weak-modules and weak-modules2
From weak-modules: #! /bin/bash
# This script is only needed to uninstall old KMPs when updating # SLE10 to SLE11+. weak-modules2 is the script what should be used # by new packages and from weak-modules2: #! /bin/bash # FIXME: move the entire depmod / mkinitrd logic from the kernel and kmp # %post scripts here -- how? ############################################################################## # naming conventions used in this script: # $kmp: name-version-release of a kmp, e.g kqemu-kmp-default-1.3.0pre11_2.6.25.16_0.1-7.1 # $kmpshort: name of a kmp, e.g kqemu-kmp-default # $basename: portion of $kmp up to the "-kmp-" part, e.g kqemu # $flavor: flavor of a kmp or kernel, e.g default # $krel: kernel version, as in /lib/modules/$krel # $module: full path to a module below updates/ # $symlink: full path to a module symlink below weak-updates/ # # files in $tmpdir: # krel-$kmp: kernel version for which $kmp was built # modules-$kmp: list of modules in $kmp (full paths) # basenames-$kmp: list of basenames of modules in $kmp # kmps: list of kmps, newest first There are definite differences in the head of the script as well. BTW I have both default and pae (not my bloody idea) kernels installed. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org