I had looked through the directory trees on SlimCD and tried building
my own from scratch, with success for x86, PPC and Xbox. Since I was

PPC? You'd have to replace all the binaries. Quite a task...

running a dedicated server though, I removed the Java runtime since I
didn't need SoftSqueeze and I go on runlevel 2 only.

This must have reduced the images' size by 50%

However, my scripting skills are zero (self training in progress though
:-), so reproducing your remaster via automated copying and removal is
not an option for me without some tips from someone like you (including
any links for self-training).

Well, these scripts are _very_ basic scripting. I have two folders (source.mh, newcd.mh - you'll recognize those names, I guess) where I put everything I want to copy. They represent the build's folders structure like eg. source.mh/etc/skel. I then copy the original files to source and newcd, remove everything I don't want, copy everything from my sourc.mh and newcd.mh folders over the original folder and finally start the cd build. Look at this (stripped down and simplified):

-------------------------------
#!/bin/sh
# make build directories
mkdir source newcd newcd/KNOPPIX

# copy the source files from the original CD
cp -Rp /cdrom/boot /cdrom/lost+found /cdrom/index.html newcd
cp -Rp /KNOPPIX/* /KNOPPIX/.bash_profile source

# remove unwanted stuff: basically add a "rm -f ..." for any item you don't need
rm -rf source/usr/bin/xmms source/usr/bin/wmxmms source/usr/lib/xmms
...

# copy my own files over the build folders
cp -Rp source.mh/* source
cp -Rp newcd.mh/* newcd

# start the well known image build process
mkisofs -R source | create_compressed_fs - 65536 > newcd/KNOPPIX/KNOPPIX
mkisofs -no-pad ... -o slimcd.iso newcd
-------------------------------

That's all the scripting magic there is :-).

I see directories in SlimCD related to your stuff (/opt/SlimCD and
/opt/slimserver), but I also see a bunch of stuff in /usr/local/bin AND
/usr/bin.

Yeah, that's due to my lazyness: I had built the perl version I'm using on SlimCD for another box, where I did not want to touch the existing perl installation (http://www.herger.net/slim/detail.php?nr=612). It therefore was built for use in /usr/local/bin. But there are some scripts on DSL which expect perl to be in /usr/bin. I therefore created links from one place to the other. But the files only exist once.

I am looking to go in the direction of a LiveCD that acts as an install
CD for DSL/X-DSL and SlimServer in a package that will format a drive,
install the OS and slimserver with all the goodies needed (including
Samba, etc.).

Samba's binaries are already included with SlimCD. I thought about building a minimalistic smb.conf and a menu entry to start it for the next release.

Any guidance you can offer on this thread or PM would be appreciated.

I'll give some more details about my build scripts when I'm back home.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to