WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Kernel module extension renaming  (Read 2226 times)

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Kernel module extension renaming
« on: November 29, 2010, 08:49:24 AM »
Hi!

When I create a new kernel module extension by copying an already existing kernel module extension (and its dep-file), the new extension won't work. The extension loads ok but the module does not. Why? My goal is to alter the deps, and copying/linking the original extension seemed like the best way.

regards
Uggla

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Kernel module extension renaming
« Reply #1 on: November 29, 2010, 08:53:44 AM »
My goal is to alter the deps..

Alter the deps of what, the extension?

You could just copy the original extension.tcz.dep -> extension.tcz.dep.original and then edit extension.tcz.dep
« Last Edit: November 29, 2010, 08:55:24 AM by Juanito »

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: Kernel module extension renaming
« Reply #2 on: November 29, 2010, 09:05:20 AM »
Yes. I'm dualbooting microcore and microcore64 and both use the same TCE. This works mostly fine except that the dependencies to kernel module extensions constantly changes from ...tinycore.tcz to ...tinycore64.tcz whenever I run an update. Renaming the extensions and edit the dep-file would fix that. Is there some other way? Perhaps write protect the dep-files?