Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: danielibarnes on July 29, 2009, 01:16:20 PM
-
There is one more fix I'd like to propose for 2.2 if I can. The /lib/modules/2.6.29.1-tinycore/kernel.tclocal symlink is an absolute path. This means that "depmod -b path" when remastering tinycore.gz will fail to include modules in path/usr/local. It would be nice for the symlink to point to ../../../usr/local/lib/modules/2.6.29.1-tinycore/kernel instead.
-
OK. Just under the wire, it is in.
-
There is one more fix I'd like to propose for 2.2 if I can. The /lib/modules/2.6.29.1-tinycore/kernel.tclocal symlink is an absolute path. This means that "depmod -b path" when remastering tinycore.gz will fail to include modules in path/usr/local. It would be nice for the symlink to point to ../../../usr/local/lib/modules/2.6.29.1-tinycore/kernel instead.
I asked a question about this.
How do I solve this issue now?
-
Could do one of the following:
- on a clean boot: install it in the system, then copy over those files.
- install it, but in a chroot
-
How do I solve this issue now?
Two ways:
sudo chroot path depmod -a 2.6.29.1-tinycore
where "path" is the path to your temporary root filesystem, or
sudo rm /lib/modules/2.6.29.1-tinycore/kernel.tclocal
and
sudo ln -s -f ../../../usr/local/lib/modules/2.6.29.1-tinycore/kernel /lib/modules/2.6.29.1-tinycore/kernel.tclocal