DSL Embedded :: 6-way install



I made a little Automator workflow to launch DSL in qemu within OS X.  I guess this technically makes it a 6-way install instead of simply a 5-way :)

I can post a link for anyone interested.  I had to use full pathnames so those will need to be edited.  This can be done in Automator or via a text editor in Windows or Linux (the file is simply an XML file).

It's probably worth posting for someone in the future.

It would be cool if there was a script that could determine your current working directory and then use that location instead of the full pathname.

Maybe something like:

./qemu blahblahblah

I just do a lot of guessing.  I would bet someone smarter than myself could figure out how to do it though.

Here is the launcher - http://larry.teamoverkill.com/Mac/dsl-OSX.app.zip

Unzip it and place dsl-OSX.app in the same directory as your dsl-lix.sh and dsl-windows.bat

Here are the compiled qemu binaries for OS X (tested under Tiger only) - http://larry.teamoverkill.com/Mac/i386-softmmu.app.zip

Unzip that and put the i386-softmmu.app in the qemu directory, the same as the qemu.exe and qemu executables.

From a Windows or Linux machine you can enter the .app directories.  I believe all you need to edit is the XML file document.wflow inside of the Contents folder so it points to the proper directory.  In my case it's /Volumes/LD

Once the paths are all correct you have a little self-contained launcher for use on a Mac.

It may be possible to write a script that will auto-detect the proper directory where your qemu application is stored.

With the "find" utility, you could grab the full path and then use it to point any files to the proper directory.

Here is a similar example, but in this case it finds ALL *.app files instead of your specific i386-softmmu.app file.

http://www.resexcellence.com/hack_html_01/10-10-01.shtml

I hope this will give you the ability to make a script that can run DSL embedded from a thumb drive that is plugged into any OSX computer system besides your own system and it's known (/Volumes/LD) location.

Good Luck.


original here.