WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: kernel.tclocal  (Read 3784 times)

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
kernel.tclocal
« on: July 29, 2009, 10:16:20 AM »
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.
« Last Edit: July 29, 2009, 10:24:10 AM by danielibarnes »

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: kernel.tclocal
« Reply #1 on: July 30, 2009, 04:04:51 PM »
OK. Just under the wire, it is in.
10+ Years Contributing to Linux Open Source Projects.

Offline xpto09

  • Newbie
  • *
  • Posts: 30
Re: kernel.tclocal
« Reply #2 on: July 30, 2009, 06:50:04 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.

I asked a question about this.
How do I solve this issue now?

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: kernel.tclocal
« Reply #3 on: July 30, 2009, 07:56:35 PM »
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

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
Re: kernel.tclocal
« Reply #4 on: July 30, 2009, 08:19:49 PM »
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
« Last Edit: July 30, 2009, 08:40:08 PM by danielibarnes »