View Single Post
Old 09-09-2008, 16:03   #12
popper
Inactive
 
Join Date: Jan 2006
Posts: 3,270
popper has a bronze arraypopper has a bronze arraypopper has a bronze array
popper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze array
Re: Linux Distro Recommendations Please

Quote:
Originally Posted by Rob M View Post
popper,

Can I assume that there's a way to create modules for slax that don't currently exist?

Is that mechanism fail-proof and simple?

For example, if I discover an automated web application scanning tool that I want to use can I simply create a new module for it?
Do do I have to have the source files for it in order to create the module?
Can I get modules/create modules for everything that I need to use?
How easy is it to update the modules as new features are added or applications are updated?

If I have a slax distro which already has a module in that I want can I simply copy the module from that distro into another?
sure, as i said search on slax MB and you will find the answer or one of the guys will perhaps make it for you if you make it easy for them and point them to source or the binary package your interested in.

heres a list for you to look at and try, add any missing descriptions to the packages you know as it needs some updating if you have the time.
http://slax.scribblewiki.com/Module_List

just follow the usual linux rules, if its a binary package you want to use, its better BUT NOT ESSENTIAL to find one thats using the same kernel as your used slax.

by default theres a GCC package+ included (you can remove that devel or any others, other than 001-core.lzm OC from the stick if you like but its small so takes up no real space on todays sticks) so you can compile most source thats not already badly broken, just practice with something you already know and follow the basic rules as set out here (i did that basic search for you already to save time )

http://www.slax.org/documentation_create_modules.php
"Create new modules

There are many ways how to create Slax modules. All commands described here work directly in Slax, but can also work in your own distribution. For that case, download linux-live scripts and run ./install. Get Linux-Live scripts here. The following command will convert Slackware's TGZ package to Slax module:
...
"
http://www.slax.org/documentation_cr...ules_rules.php
"How to create Slax modules the right way
Slax modules may be created any way you like, as long as you are the only one who use them.
But if you wish to share your modules with other users, you have to follow several rules described in this document. The rules are designed to benefit the end user at the first place; so if you disobey them, your module will never be accepted for the official Slax repository.
Technical overview

Slax module is a compressed squashfs filesystem with .lzm extension. The module is created by a mksquashfs utility and may be extracted (unpacked) using unsquashfs. Both these tools must be patched (modified) to support LZMA compression algorithm. These utilities are already included in Slax.
Every Slax module contains all files and directories with full path. For example, a module with bash (the binary and some man pages) would look like this:
....
"
and yes if you find an existing module in another slax based distro then you simply copy it over to the modules dir as already explained, or click it to auto unpack it and mount it to the right place.

there is a slight problem in that some of the old non official modules and a few old official slax 5 ones to, just stopped working due to changes on the newest slax 6/7 but the guys on the MB will help you fix them if you cant find the answer posted there already.

no source required if you already have a binary +dependencys that works.
if there exists working code or linux binarys then you can make a module with practice, as already pointed out, the slax is just linux thats squashed and layed out as its required for the distro to work.

updating modules is as easy as copying it over to the /modules dir and rebooting or running from somewere, a drive,another stick, a webpage if you have net access etc and having it auto insert itself into your current booted running slax.

did you try that pre-configured slax Pxe booting another lan PC yet, he's looking for any errors you might find so he can try and fix them, it works perfectly for me though so no problems to report.
popper is offline   Reply With Quote