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 Wed 30 Jul 2014, 11:32
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Automated Remastering?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
h4ckm3

Joined: 14 Oct 2011
Posts: 1

PostPosted: Thu 19 Jan 2012, 16:43    Post subject:  Automated Remastering?
Subject description: I would like to see a system that could as an option automatically remaster at regular intervals
 

Just a thought, I think one of the primary advantages would be that it would keep your pup save small. It would also improve portability, The remaster utility that comes stock is amazing, I use it all the time. I imagine that it would be pretty easy to set it up with standardized options. It could also backup the last *.sfs and save file. Then at shutdown you'd be prompted to create a new save file. I plan on embarking on this journey, any tips would be greatly appreciated. Very Happy
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2373
Location: UK

PostPosted: Thu 19 Jan 2012, 16:58    Post subject:  

Somewhere very early on in /etc/rc.d/rc.shutdown you might be able to add a command which runs remasterpup2, and puts the rest of the shutdown process on hold until that is done..

You could possibly include a calculation which checks how much data needs to be saved (/usr/sbin/snapmergepuppy already makes such a calculation), and if it's over x amount of MBs, then run remasterpup2 - of course you might have only 100KB waiting to be saved, and it may be the most important 100KB ever - so that is a really, really arkward/dumb way to do it.. but food for thought, possibly...

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: Mon 20 Feb 2012, 13:36    Post subject:  

I've used the remasterpup script many times, but in order to make the final puplet small, manual editing of the /tmp/root and the /tmp/etc folders is necessary when prompted. The script just can't tell what file/folders you need to copy over and which ones you don't.

It can be done automatic if you hack the remaster script and make it copy all of the folders from /root and /etc but that will save all of the configuration settings to the new iso.

Eg. If you install a full-powered browser, all of the saved-settings would get added to the iso and the resulting iso would become much larger.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.0594s ][ Queries: 12 (0.0134s) ][ GZIP on ]