If I understand you correctly, you've made a squashfs with /filesystem as the top level directory and everything else underneeth it. Is that correct? And now you need a way to get the files from /filesystem/usr into /usr, /filesystem/opt into /opt, and /filesystem/etc into /etc. Am I still following you correctly?i tried making a dummy usr_more.sfs using
./filesystem as the name suggests contains copy of installed kde filesCode: Select all
mksquashfs ./filesystem /mnt/home/usr_more.sfs
namely
./filesystem/etc
./filesystem/opt
./filesystem/root
./filesystem/usr
all the files get mounted to the /usr folder.
how to edit the rc.sysinit to load the files to their correct location
I'd suggest a different approach myself. Puppy is not set up to use /opt at all and will not permanently store anything there. Most of the time files in /opt can be readily moved to /usr, so if it's in /opt/bin move it to /usr/bin, if it's in /opt/lib move it to /usr/lib. I don't know if that will work for your KDE install or not but it's the most 'correct' way to do things for Puppy. As for anything in /etc and /root it should only be configuration files and so take up little room. You could make a two part install with a squashfs for the bulk of it and a dotpup for everything in /root (including /root/.etc).
If you can't move things out of /opt you could try symlinking the files. Put them into a new directory in /usr and have rc.local create symlinks to them every time the machine boots. As for making the squashfs, I'd get your install up and running (with a fresh pupxxx) and then copy all of /root/.usr to somewhere convenient, like /mnt/home/tmp/.usr. Then just navigate to /mnt/home/tmp with rox, right click and open a terminal and type:
Code: Select all
mksquashfs .usr usr_more.sfs
Of course this is all assuming that I understood your post and what you were asking.
I really think that a squashfs is the best way to go in making any kind of KDE package. This is exactly the sort of thing that that feature is good for.
I get a lot better than 12 seconds with my system, about 7-8 seconds. Anyway, I'm glad someone here tried it and I've been really pleased so far with the performance myself.I think it might be quite fast with puppy, I just loaded OpenOffice-Writer from Grafpup in 12 Seconds. Well thats fast
While I agree with the sentiment that KDE is way too overblown for it's actual usefulness, a lot of people like it and want it. Why not have it available? I put the smallest wordprocessor I could readily find into Grafpup (Ted) but made the squashfs with OpenOffice because I knew that for some Ted wouldn't cut it, or they would just really like to be able to run OpenOffice2.0 in Puppy.
Good luck with the project. I'd be willing to mirror it myself on the new Grafpup server as long as I don't overrun my bandwidth.
Nathan