How do I put a file into DSL?


Forum: Other Help Topics
Topic: How do I put a file into DSL?
started by: rippon

Posted by rippon on Aug. 17 2006,10:32
Basically, all I want to do is put one small file, a very short script I made, into the home directory.
That way the user only has to execute the script, which will download and install needed files and create a directory once booted up from the live cd.

What is the best way to go about getting this file into DSL.

I want to be able to get this "custom" DSL into a .ISO, so basically anyone can just boot right up, execute the script, and walk away. I just haven't had any luck making myDSL.iso. It keeps on talking about "extensions" when all I want to do is make this one file show up in the home directory once booted up from a livecd.

Thanks in advanced.

Posted by mikshaw on Aug. 17 2006,13:08
You could make the one file an extension and use mkmydsl to add it to a new ISO, or you could < remaster the KNOPPIX file >, putting the file into etc/skel
Posted by rippon on Aug. 17 2006,17:54
What exactly is an extension? And how do I make one? That link you gave seems really complicated.

And if I make the extension how do I get it to show up in the Home directory?

Thanks

Posted by ^thehatsrule^ on Aug. 17 2006,18:27
Search the wiki on "extension".
Posted by rippon on Aug. 17 2006,18:42
Quote (^thehatsrule^ @ Aug. 17 2006,14:27)
Search the wiki on "extension".

Well, I did, and all I got was really confused.

What exactly iss an  extension?
All I  need  is this one file to be in the home directory.

Posted by mikshaw on Aug. 17 2006,18:55
an extension is a gzipped tarball or a compressed iso, depending on the type of extension, which is used in DSL for adding things to a livecd/frugal/embedded type of install. They are mostly application packages which have been built specifically for DSL, but anything can be put in an extension.

Quick way to make an extension for a single file in home:

Make sure your file is in /home/dsl and use these commands:
sudo su (to become root)
cd  /
tar czf myfile.tar.gz --no-recursion --numeric-owner home/dsl/filename

Then move the file to wherever you like.

Posted by rippon on Aug. 17 2006,22:23
Quote (mikshaw @ Aug. 17 2006,14:55)
an extension is a gzipped tarball or a compressed iso, depending on the type of extension, which is used in DSL for adding things to a livecd/frugal/embedded type of install. They are mostly application packages which have been built specifically for DSL, but anything can be put in an extension.

Quick way to make an extension for a single file in home:

Make sure your file is in /home/dsl and use these commands:
sudo su (to become root)
cd  /
tar czf myfile.tar.gz --no-recursion --numeric-owner home/dsl/filename

Then move the file to wherever you like.

Ok thanks. Now when I make MyDSL remaster, am I supposed to put these extenstions in a certain directory so it burns it onto the .iso image / cd, so if I give it to another person they can use that file?

Thanks again.

Posted by rippon on Aug. 18 2006,03:23
Thanks for the help. I figured it out with your help.

Now people can dl the my .iso, burn to disk, boot, and either start my script right away to start the Folding at Home client, or, read the HowTo I wrote, to help them install it to their USB drive.

Thanks again!

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.