Probably I am doing a "newbie error".
Following the wiki:
You must use chroot because "depmod -b /tmp/extract" will not follow the kernel.tclocal symbolic link to find
modules under /usr/local.
I tried this:
root@siduxbox:/tmp/extract# depmod -b /tmp/extract 2.6.29.1-tinycore
serveral warning like this:
WARNING: Can't read module /tmp/extract/lib/modules/2.6.29.1-tinycore/kernel/drivers/serial/serial_cs.ko.gz:
Exec format error
root@siduxbox:/# chroot /tmp/extract/
chroot: cannot run command `/bin/bash': No such file or directory
root@siduxbox:/# depmod -b /tmp/extract/lib/modules/2.6.29.1-tinycore/
WARNING: Couldn't open directory /tmp/extract/lib/modules/2.6.29.1-tinycore//lib/modules/2.6.30-1.slh.3-sidux-686: No such file or directory
FATAL: Could not open /tmp/extract/lib/modules/2.6.29.1-tinycore//lib/modules/2.6.30-1.slh.3-sidux-686/modules.dep.temp for writing: No such file or directory
However, the others options worked:
1) root@siduxbox:/tmp/extract#chroot /tmp/extract/ depmod -a 2.6.29.1-tinycore;
2) root@siduxbox:/# rm lib/modules/2.6.29.1-tinycore/kernel.tclocal
root@siduxbox:/tmp/extract#ln -s -f ../../../usr/local/lib/modules/2.6.29.1-tinycore/kernel /lib/modules/2.6.29.1-tinycore/kernel.tclocal