Wolvix Wiki : CreatingModules

HomePage :: Wolvix.org :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Revision [844]

Most recent edit made on 2007-12-01 00:04:34 by WolveN

Additions:
lzm2dir mymodule.lzm somedirectory/


Deletions:
zlm2dir mymodule.lzm somedirectory/




Revision [480]

Edited on 2007-07-22 15:58:57 by WolveN [Updated for Wolvix 1.1.0]

Additions:
Converting a Slackware .tgz package to a module is very easy. It's done with the 'tgz2lzm' command: (tgz2lzm input-file.tgz output-file.lzm)
tgz2lzm package-1.0-i486-1.tgz mymodule.lzm

You can create a module from a directory with the 'dir2lzm' command: (dir2lzm input-directory/ output-module.lzm)
dir2lzm somedirectory/ mymodule.lzm

You can reverse the process described above with the 'zlm2dir' command: (zlm2dir input-module.lzm output-directory/)
zlm2dir mymodule.lzm somedirectory/


Deletions:
Note:
In Wolvix 1.1.0 beta the module format has changed from mo to lzm, which means the commands are different that described here.
Example: tgz2mo is tgz2lzm | dir2mo is dir2lzm | mo2dir is zlm2dir
 

Converting a Slackware .tgz package to a module is very easy. It's done with the 'tgz2mo' command: (tgz2mo input-file.tgz output-file.mo)
tgz2mo package-1.0-i486-1.tgz mymodule.mo

You can create a module from a directory with the 'dir2mo' command: (dir2mo input-directory/ output-module.mo)
dir2mo somedirectory/ mymodule.mo

You can reverse the process described above with the 'mo2dir' command: (mo2dir input-module.mo output-directory/)
mo2dir mymodule.mo somedirectory/




Revision [359]

Edited on 2007-05-13 23:21:51 by WolveN [Added not about new module format in 1.1.0]

Additions:
Note:
In Wolvix 1.1.0 beta the module format has changed from mo to lzm, which means the commands are different that described here.
Example: tgz2mo is tgz2lzm | dir2mo is dir2lzm | mo2dir is zlm2dir
 




Revision [269]

Edited on 2007-02-18 19:54:46 by WolveN [Changed the category from 'modules' to 'guide']

Additions:
CategoryGuide


Deletions:
CategoryModules




Revision [161]

Edited on 2006-12-28 00:08:13 by WolveN

Additions:
Note! The directory 'somedirectory' is not added to the module, only the directories and files inside it are included. So if you want to keep the path: somedirectory/ you have to place it inside another directory first.


Deletions:
Note! The directory 'somedirectory' is not added to the module, only the directories and files inside it are included. So if you want to keep the path: somedirectory/ you have to place it inside another directory first.




Revision [113]

Edited on 2006-09-29 21:52:50 by WolveN

Additions:
Or if you'd like to install all the packages in the current directory, you can use the wildcard '*' like this:


Deletions:
Or if you'd like to install all the packages inside the current directory, you can use the wildcard '*' like this:




Revision [112]

Edited on 2006-09-29 16:55:16 by WolveN

Additions:
To install packages to a specific directory, and not to the system, use the 'ROOT=' command: (ROOT=input-directory/ installpkg input-package.tgz)


Deletions:
To install packages to a specific directory, not to the system, use the 'ROOT=' command: (ROOT=input-directory/ installpkg input-package.tgz)




Revision [111]

Edited on 2006-09-29 16:53:30 by WolveN

Additions:
Note! The directory 'somedirectory' is not added to the module, only the directories and files inside it are included. So if you want to keep the path: somedirectory/ you have to place it inside another directory first.


Deletions:
Note! The directory 'somedirectory' is not added to the module, only the directories and files inside it are added. So if you want to keep the path: somedirectory/ you have to place it inside another directory first.




Revision [110]

Edited on 2006-09-29 16:52:54 by WolveN

Additions:
You can create a module from a directory with the 'dir2mo' command: (dir2mo input-directory/ output-module.mo)


Deletions:
You can also create a modules a directory with the 'dir2mo' command: (dir2mo input-directory/ output-module.mo)




Revision [109]

Edited on 2006-09-29 16:52:17 by WolveN

Additions:
You can also create a modules a directory with the 'dir2mo' command: (dir2mo input-directory/ output-module.mo)


Deletions:
You can also create modules from files inside a directory with the 'dir2mo' command: (dir2mo input-directory/ output-module.mo)




Revision [108]

Edited on 2006-09-29 16:51:26 by WolveN

Additions:



Deletions:





Revision [107]

Edited on 2006-09-29 16:49:28 by WolveN

Additions:

Converting a package to a module:

Creating a module from a directory:

Extracting a module to a directory:

You can reverse the process described above with the 'mo2dir' command: (mo2dir input-module.mo output-directory/)
mo2dir mymodule.mo somedirectory/

Creating a module from two or more packages:

In order to create a larger module from several Slackware packages, you need to install all the packages to a temporary directory first, then create a module from that directory.
To install packages to a specific directory, not to the system, use the 'ROOT=' command: (ROOT=input-directory/ installpkg input-package.tgz)
ROOT=temp/ installpkg first-package.tgz second-package.tgz third-package.tgz

Or if you'd like to install all the packages inside the current directory, you can use the wildcard '*' like this:
ROOT=temp/ installpkg *.tgz

The 'ROOT=' command also works with 'removepkg', so if you change your mind and don't want the "second-package" to be in your module, you could remove it again like this:
ROOT=temp/ removepkg second-package.tgz



Deletions:

Converting a .tgz package to .mo:

Creating a module from a directory





Revision [106]

Edited on 2006-09-29 16:16:49 by WolveN

Additions:

Creating Modules in Wolvix



Deletions:

Creating Modules in Wolvix





Revision [104]

Edited on 2006-09-29 16:16:12 by WolveN

Additions:

Creating Modules in Wolvix



Deletions:

Creating Modules in Wolvix





Revision [103]

Edited on 2006-09-29 15:51:49 by WolveN

Additions:

CategoryModules




Revision [102]

Edited on 2006-09-29 15:51:31 by WolveN

Additions:

Converting a .tgz package to .mo:

Converting a Slackware .tgz package to a module is very easy. It's done with the 'tgz2mo' command: (tgz2mo input-file.tgz output-file.mo)
tgz2mo package-1.0-i486-1.tgz mymodule.mo

Creating a module from a directory

You can also create modules from files inside a directory with the 'dir2mo' command: (dir2mo input-directory/ output-module.mo)
dir2mo somedirectory/ mymodule.mo

Note! The directory 'somedirectory' is not added to the module, only the directories and files inside it are added. So if you want to keep the path: somedirectory/ you have to place it inside another directory first.


Deletions:

Converting a Slackware package:

Converting a .tgz package to a module is very easy. It's done with the 'tgz2mo' command: (tgz2mo input-file.tgz output-file.mo)
tgz2mo package-1.0-i486-1.tgz module.mo




Revision [101]

Edited on 2006-09-29 15:34:15 by WolveN

Additions:

Creating Modules in Wolvix



Deletions:

Creating Modules in Wolvix





Revision [99]

Edited on 2006-09-29 15:32:55 by WolveN

Additions:
Converting a .tgz package to a module is very easy. It's done with the 'tgz2mo' command: (tgz2mo input-file.tgz output-file.mo)


Deletions:
Converting a .tgz package to a module is very easy. It's done like this: (tgz2mo input-file.tgz output-file.mo)




Revision [98]

The oldest known version of this page was edited on 2006-09-29 15:31:20 by WolveN

Creating Modules in Wolvix


Converting a Slackware package:


Converting a .tgz package to a module is very easy. It's done like this: (tgz2mo input-file.tgz output-file.mo)
tgz2mo package-1.0-i486-1.tgz module.mo


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.2234 seconds