Made usr_more.sfs file & no union (SOLVED).

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

Made usr_more.sfs file & no union (SOLVED).

#1 Post by sunburnt »

Made a dir. tree structure in a work dir. on a ext2 partition.
Filled it with files for PupServer (Samba server, DHCP3, etc.).
When the test PupServer is run the files don't show in the proper dirs., why no union?
The usr_more.sfs file is with usr_cram.fs & the pup001 files in /mnt/home.
When it starts it says the correct home dir., it made the pup001 file there, & it
works okay.
The rest of the boot code goes by so fast I can't see any errors with the union setup (maybe I need a slower PC).

I mounted the more file & looked through it to check it, all looked good with it.
The file is nothing but a tree of dirs. & the files in it, is there anything else I've forgotten?
I stole the build command out of AlienX's remaster script:

mksquashfs $SOURCE ${TARGET}$FILE 1> /dev/null # make squash file

I've checked $SOURCE, $TARGET, & $FILE, all's good there...
Last edited by sunburnt on Fri 12 May 2006, 02:57, edited 1 time in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

This might help you:
http://www.murga.org/~puppy/viewtopic.php?t=7394

So create
/root/test/usr

copy there als your dirs,
so you have
/root/test/usr/dir1
/root/test/usr/dir2

then run
cd /root/test
mksquashfs usr usr_more.sfs

Mark

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#3 Post by sunburnt »

Thanks MU; Looking at it again I realized my path was the parent of /usr & I foolishly put stuff in it that doesn't go in /usr.

It's working great now... NOW FOR THE TOUGH PART, me making a DotPup to install it as there's config. files for /etc.

Post Reply