Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: caracalla on June 25, 2018, 09:21:12 AM

Title: Kernel module extension package
Post by: caracalla on June 25, 2018, 09:21:12 AM
Following the directions from the rather old thread I've prepared a kernel module package (http://forum.tinycorelinux.net/index.php/topic,3602.msg18915.html#msg18915 (http://forum.tinycorelinux.net/index.php/topic,3602.msg18915.html#msg18915)).
I have prepared a package file with an .tczm file extension (agp.tczm). Then I've copied the file to the /tce/optional directory and tried to load/install it with a tce-load -i command.

I've tried different variants but faild
tce-load -i agp          -->  agp.tcz not found!
tce-load -i agp.tczm  -->  agp.tczm.tcz not found!

I though that tce-load command is searching for packages with different file extensions *.tcz, *.tzcl, *.tczm, etc. but it seems like this is not the case.

I guess that method to create/load kernel module extension packages must have changed since the creation of the mentioned thread.

Please provide some guidance on the correct way of creating/loading kernel module extension packages.
Title: Re: Kernel module extension package
Post by: curaga on June 25, 2018, 10:17:06 AM
Yes, those instructions are for a very old TC version. For current versions, there is nothing special about a module extension - look at the repo's module extensions for examples. edit: Only the final filename seems wrong, so rename it to .tcz.