History log of /scripts/depmod.sh
Revision Date Author Comments
8fc62e59425389a6d48429b9d146223122743435 12-Jul-2011 Michal Marek <mmarek@suse.cz> kbuild: Do not write to builddir in modules_install

Let depmod.sh create a temporary directory in /tmp instead of writing to
the build directory as root. The mktemp utility should be available on
any recent system (and there is already scripts/gen_initramfs_list.sh
relying on it).

Reported-by: Christian Kujau <lists@nerdbynature.de>
Signed-off-by: Michal Marek <mmarek@suse.cz>
bfe5424a8b31624e7a476f959d552999f931e7c7 09-Jun-2011 Michal Marek <mmarek@suse.cz> kbuild: Hack for depmod not handling X.Y versions

depmod from module-init-tools < 3.13 and the busybox depmod check if the
kernel release starts with <num>.<num>.<num>. To support these versions,
we create a symlink with two numbers prepended.

Signed-off-by: Michal Marek <mmarek@suse.cz>
fc4da9a3e68b1f64237fafda084f61067f568a99 09-Jun-2011 Michal Marek <mmarek@suse.cz> kbuild: Move depmod call to a separate script

Do not bloat the Makefile with multiline shell statements. No
user-visible change intended.

Signed-off-by: Michal Marek <mmarek@suse.cz>