|
[SMS] - Superb Mini Server Project Support Forum |
|
|
|
View previous topic :: View next topic |
Author |
Message |
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Nov 28, 2007 6:38 pm Post subject: How to create Modules for SMS. |
|
|
SMS created with linux live scripts, and as all live CDs created by them, they are modular.
Modular means they can accept modules a.k.a. packages.
Current scripts version is 6x.x so the module extension is .lzm (e.g. kde13.lzm)
In order to add modules you have to rebuild the .iso. That can be done with the supplied scripts, or with ISO editor/maker software.
Modules must be placed under the folder modules.
For creating modules you will need an installed SMS version on your disk or booting from SMS.Live.CD create the modules and save them to USB stick, web, media or a partition before exit.
How to create modules
a) One way is to use tgz2lzm command for creating your package. It will convert a Slackware package with .tgz extension to live CD module. That method might fail depending on the script that needs to be run after the installation of the package (.tgz).
You can additionally use rpm2tgz and tgz2lzm for creating modules from rpm packages.
The usage of tgz2lzm is:
tgz2lzm package.tgz package.lzm
b) Another way is by using dir2lzm command. For doing that you must create a folder and create directory tree of system and preserve it, e.g. if you want to put a text.txt file on folder /var/lib/data/ you must create a folder for instance package and do
mkdir –p package/var/lib/data and copy your file text.txt, that way if you do a
dir2lzm package/ package.lzm
when it will load package.lzm module on live system you will have your file text.txt where you wanted to be (/var/lib/data/text.txt).
With dir2lzm you can convert slackware packages too but with different method, e.g.
Mkdir /tmp/package
and use
installpkg –root /tmp/package yourpackage.tgz
and after that
dir2lzm package/ yourpackage.lzm
That method is very powerful because you can edit the contents of a package or convert several packages into one module.
c) Another way is by using Kweb2mod, and creating modules from the web via a GUI or console.
All the above methods doesn’t not guarantee that modules will work with a simple conversion, the same applies if you are using an SMS add-on module on another Linux-Live-Script based CD.
Kslack2mod has a dependency check though but that not guarantee that a module will load successfully.
I‘ll try to help as many as I can with third part modules, but you got to be patience.
Sites with Slackware packages:
http://www.linuxpackages.net
http://www.slacky.eu
Sites with Modules:
http://live-modules.org
the upcoming slax6 site
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|
SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional
|
|
|
|