The time now is Wed 22 May 2013, 06:46
All times are UTC - 4 |
| Author |
Message |
scsijon
Joined: 23 May 2007 Posts: 923 Location: the australian mallee
|
Posted: Sun 06 May 2012, 22:05 Post subject:
Remove Builtin files > Remaster problem |
|
Have come across this "problem".
Using racy53, although I have since seen that it happens with wary522 also.
Went in, on a plain unworked frugal install, using the "Remove Builtin Files" Application and removed a number of unwanted applications, such as the default games, Gnumeric, Abiword, Inklite, etc.
Then using the "Remaster" program I 'remastered' accepting the defaults.
I was suprised to start with to see that the resultant was larger than the old sfs, however i went and burnt it anyway.
Installed the new iso into a free partition and saved with a small save file.
Started checking around and found to start with, that the remaster is only removing files in the /sbin, /bin, /usr/sbin, /usr/bin, /usr/share/applications directories. It seems to be leaving everything else insitu, such as the /lib, /usr/lib, /root, etc. components of the "removed" applications .
[EDIT]It is, on the other hand only removing the .profile files when it has deleted all within so you can at least remove the rest manually, then remaster again to get what you want.
[FIXED]However I still have to work out why it's larger and i've checked that I have no other sfs's loaded so that wasn't the cause.
Could some of the 'other' variations check please if this result is what they also have before I chase the 'two applications', in case it's just a wary/racy thing.
thanks.
scsijon
_________________ Mage2 in final Beta! http://www.murga-linux.com/puppy/viewtopic.php?t=72565
Last edited by scsijon on Wed 09 May 2012, 23:18; edited 1 time in total
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7018 Location: qld
|
Posted: Sun 06 May 2012, 22:21 Post subject:
|
|
Hi scsijon
It's likely that the remaster script does not support xz compression .. try the one at the following link
http://murga-linux.com/puppy/viewtopic.php?p=623475#623475
YMMV
HTH
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
scsijon
Joined: 23 May 2007 Posts: 923 Location: the australian mallee
|
Posted: Sun 06 May 2012, 23:02 Post subject:
|
|
thanks, will give it a go.
edit: well that's a start, the remaster is smaller and some of the unwanted files are gone, but a lot are still there so will add a link to the 5.3 thread.
_________________ Mage2 in final Beta! http://www.murga-linux.com/puppy/viewtopic.php?t=72565
|
|
Back to top
|
|
 |
playdayz

Joined: 25 Apr 2008 Posts: 3705
|
Posted: Tue 08 May 2012, 22:13 Post subject:
|
|
rerwin has worked on the remaster script more than anyone else recently, if you can get his attention.
I think it might be necessary to reboot after removing the built-in files.
|
|
Back to top
|
|
 |
scsijon
Joined: 23 May 2007 Posts: 923 Location: the australian mallee
|
Posted: Wed 09 May 2012, 23:14 Post subject:
|
|
thanks, will ask him if he can help
_________________ Mage2 in final Beta! http://www.murga-linux.com/puppy/viewtopic.php?t=72565
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Thu 10 May 2012, 00:20 Post subject:
|
|
| Quote: | | Started checking around and found to start with, that the remaster is only removing files in the /sbin, /bin, /usr/sbin, /usr/bin, /usr/share/applications directories. It seems to be leaving everything else insitu, such as the /lib, /usr/lib, /root, etc. components of the "removed" applications Question . | lol, yeah I remember seeing that code... really hacky method to find files containing the package name... I posted an alternative over a year ago including reverse dependency support ... it should already be in woof, but I wouldn't be surprised if it got borked up since I wrote it in shorthand bash
| Code: | #!/bin/sh
D=$HOME/.packages/builtin_files
PKGS=`ls -1 $D`
PKG=`Xdialog --stdout --combobox "select package to remove" 0 0 $PKGS`
[ $PKG ] && Xdialog --yesno "Reverse dependencies:
`cat $HOME/.packages/woof-installed-packages |grep +$PKG |cut -d "|" -f2`
Continue?" 0 0 && [ $? ] && for x in `cat $D/$PKG`; do [ -d $x ] && cd $x || rm $x; done && rm $D/$PKG && $0 |
Edit: now you have to know how the remastering is done (different scripts to it differently) - does it use your existing file system and ignore user/system specific files or does it reuse the puppy*.sfs (if so the line: rm $D/$PKG may screw you ... perhaps it should be a mv ...)
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
|
|
|
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
|