Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 01 Aug 2014, 03:52
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Icepup 0.3
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [18 Posts]   Goto page: Previous 1, 2
Author Message
Todd

Joined: 31 Aug 2006
Posts: 310

PostPosted: Fri 14 Sep 2007, 13:16    Post subject:  

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

Todd
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4759
Location: Manila

PostPosted: Fri 14 Sep 2007, 20:25    Post subject: custom remaster  

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? Get the sfs (English only).
Back to top
View user's profile Send private message 
EZ4arabs

Joined: 19 Jul 2006
Posts: 84

PostPosted: Sat 15 Sep 2007, 07:25    Post subject:  

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:


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:


##### 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:


  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.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [18 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0456s ][ Queries: 12 (0.0048s) ][ GZIP on ]