Automated Remastering?

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
h4ckm3
Posts: 1
Joined: Sat 15 Oct 2011, 02:39

Automated Remastering?

#1 Post by h4ckm3 »

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. :D

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#2 Post by sc0ttman »

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...
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#3 Post by Tman »

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.

Post Reply