how to make .dsl packages


Forum: Other Help Topics
Topic: how to make .dsl packages
started by: jaapz

Posted by jaapz on Aug. 21 2007,13:30
It's just a simple question:
how do i make a .dsl package?

Posted by lucky13 on Aug. 21 2007,14:13
http://damnsmalllinux.org/wiki/index.php/Creating_MyDSL_Extensions
Posted by stupid_idiot on Aug. 21 2007,14:29
An example file '/usr/bla/bla' doesn't have to be in the root directory '/usr'. You can put a work directory 'usr' anywhere. When creating the .dsl:
Code Sample
tar zcvf blabla.dsl --numeric-owner --no-recursion usr/bla/bla usr/bla/blablabla

This is okay. Even when '/usr' is used, the '/' is removed by tar.
Putting files elsewhere than '/usr' means you can do testing and then remove the 'usr' directory.
Let's say you just finished compiling a software package with './configure' and 'make', and you want to install the files not to '/usr' but to '/mnt/hdax/usr'. You can do this very easily:
Code Sample
DESTDIR=/mnt/hdax make install

This will let '/mnt/hdax' be the root directory. So all the files for '/usr' will be installed in '/mnt/hdax/usr'.

Posted by jaapz on Aug. 21 2007,15:14
thx, this will help :)
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.