Icepup 0.3

For talk and support relating specifically to Puppy derivatives
Post Reply
Message
Author
Todd
Posts: 311
Joined: Thu 31 Aug 2006, 18:25

#16 Post by Todd »

I am sorry, but I don't know. Good question though.

Todd

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

custom remaster

#17 Post by raffy »

I guess when the script asks whether you want to remaster for your own hardware, you should answer "Yes", and zdrv would then be unnecessary for the remaster output.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

EZ4arabs
Posts: 82
Joined: Wed 19 Jul 2006, 09:18

#18 Post by EZ4arabs »

sorry raffy that is not it because even if i chose yes it will still look for zdrv_213.sfs,,I should of been more clearer in my question above.
its dougal's remastering script that I needed to reomve any references from,and it turned out the answer was very simple and it was just a matter of finding the script.
so after locating it in /usr/sbin I edited these lines:
around line 18

Code: Select all


PUPPYVERSION="`cat /etc/puppyversion`"
if [ $PUPPYVERSION -gt 211 ];then
	#ZDRV="zdrv_$PUPPYVERSION.sfs"
	FRSTMESSAGE="4 main files: vmlinuz, isolinux.cfg, initrd.gz,"
	#SCNDMESSAGE=" and $ZDRV"
else
then creat a directory in /mnt named ZDRV as i found out in following lines:

Code: Select all


##### directory option selected
	while true 
	do
		SRCDIR="`Xdialog --stdout --left --title "Select Directory" --dselect "/" 0 0`"
		[ ! $? -eq 0 ] && exit
		if [ -f "$SRCDIR"isolinux.bin ] && [ -f "$SRCDIR"isolinux.cfg ] && [ -f "$SRCDIR"vmlinuz ] && [ -f "$SRCDIR"initrd.gz ] ;then
			if [ ! "$ZDRV" = "" ] && [ ! -f $SRCDIR$ZDRV ]; then
				echo "$ZDRV missing"
			else
then around line 274

Code: Select all


  sync
   [ ! "$ZDRV" = "" ] && cp $SRCDIR$ZDRV $WKGDIR/
   sync


I really should learn cgi and other neat SSL it would of come in handy in writing scripts when I learn more linux.time to forget all about ASP which now mostly useless and requires using Microsoft's PWS not to mention its becoming a security risk.
Thank you for your replies friends.

Post Reply