WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: kernel.tclocal  (Read 4092 times)

Offline danielibarnes

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

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: kernel.tclocal
« Reply #1 on: July 30, 2009, 07: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, 09: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^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: kernel.tclocal
« Reply #3 on: July 30, 2009, 10: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, 11: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, 11:40:08 PM by danielibarnes »