myDSL Extensions (deprecated) :: A .CI extension question



Hi
If you are building custom .uci extensions I think you could put your symlinks in the user.tar.gz file.  Then it would auto-magically point to /opt.

/usr/NX  -->  /opt/NX

good luck

if you are going to put things into /usr. etc, you might as well make it a normal .dsl, since it will be running mkwritable on those directories anyway.
Technically,
the user.tar.gz file is ONLY for the items needed in /home/dsl,
and /tmp/mydsl.menu, to support the myDSL system.

Someone could get creative, and add files to ANOTHER dir in /opt,
and place them inside the user.tar.gz.  
The dir in /opt used by the .uci image is read-only.

These areas are already writable.  Minimal ram usage.

73
ke4nt

Or if you REALLY wanted to get creative,

you could make a small nxlinks.dsl file and place it inside

/opt/NX

and then use your user.tar.gz  menu item to perform this command:

mydsl-load /opt/NX/nxlinks.dsl

and you are in business.

You can then wrap the whole thing up into one *.uci file.

However, keep in mind that your uci file would need to be color coded yellow or red because it indirectly creates a writable file system.

Of course, the RIGHT way to do it is to take ke4nt's suggestion and recompile it with prefix /opt

SU is correct. The only true benefits would be to have remastered all the symlinks into the filesystem so it doesn't have to be opened up at all. If you are familiar with Knoppix remastering you can do this. I've done it before with success.

Chris

Next Page...
original here.