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 Sun 26 Oct 2014, 03:50
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 Posts_count  
Author Message
h4ckm3

Joined: 14 Oct 2011
Posts: 1

PostPosted: Thu 19 Jan 2012, 16:43    Post_subject:  Automated Remastering?
Sub_title: 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: 2385
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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