New names for files in Woof and derivatives

I have implemented this in Woof. File woof-unleashed/DISTRO_SPECS has some overall specifications:

DISTRO_VERSION="600"
DISTRO_NAME="Woof"
#prefix for distro files... exs: woof_600.sfs, woof_save.2fs
DISTRO_FILE_PREFIX="woof"

When the distro is built, this file ends up at /etc/DISTRO_SPECS.

If built with a 'zdrv' file, it is named 'woof_zdrv_600.sfs', or whatever the variables specify.

I have modified all the scripts accordingly.

One advantage of this system is that if you wanted to create a derivative of Woof, say 'Bark', change these:

DISTRO_FILE_PREFIX='bark'
All files will be prefixed with "bark", for example 'bark_save.2fs', so they can't get mixed up with any other derivative.

DISTRO_NAME='Bark'
All messages in dialog boxes and elsewhere will display this as the distro name. For example, the main Help page will have "Welcome to Bark Linux".


Posted on 13 Nov 2008, 15:09


Comments:

Posted on 13 Nov 2008, 15:29 by Lobster
Woof Woof
Good news about Woof, in particular a possible Python based language 'PupPy'

I recently created a simple puplet based on 4.1.1
Linux Tmxxine Dark Force
http://tmxxine.com/wik/wikka.php?wakka=LinuxTmxxineDF
It includes the full Python and Idle Editor

During the construction I had to manually put LIT
(a program that runs on Startup) in the Startup directory (created as a temp directory)

Should the contents of the Startup Directory be automatically added to any remastering?


Posted on 13 Nov 2008, 17:13 by Leon
8 characters in filenames
From my experience with one of the earlier releases of Grafpup a system file with more then 8 characters in filename could cause problems when using grub4dos frugal install in DOS/FreeDOS/Windows environment. Author of Grafpup then changed the name of the file to 8 characters in name.

I suggest to keep 8 characters naming conventions as used in Puppy.

Puppy

pup_xxx.sfs
zdrv_xxx.sfs
pup_save.2fs

Woof

woof_xxx.sfs
wooz_xxx.sfs
woo_save.2fs


Posted on 14 Nov 2008, 7:07 by BarryK
8+3 filenames
yes, I was wondering if I really needed to stick to that format.

I suppose also:
woof_xxx.sfs
woofzxxx.sfs
woofsave.2fs



Posted on 14 Nov 2008, 7:13 by BarryK
8+3 again
Or, for consistency:

woofrxxx.sfs #"r" is for "root filesystem", (or "v" for version)
woofzxxx.sfs
woofsave.2fs



Posted on 15 Nov 2008, 5:26 by Leon
Sort order
Yes, that seems to be better.

The Sort order is interesting too.

woofrxxx.sfs #"r" is for "root filesystem"
woofsave.2fs
woofzxxx.sfs

woofsave.2fs
woofvxxx.sfs #"v" for "version"
woofzxxx.sfs