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 Sat 20 Dec 2014, 18:28
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Remove Builtin files > Remaster problem
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
scsijon

Joined: 23 May 2007
Posts: 1052
Location: the australian mallee

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

Confused 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 Question .
[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

_________________
Puppy T290 - BarryK's Racy but with T2 Version 9.0 is under development.
http://www.murga-linux.com/puppy/viewtopic.php?t=94575

Last edited by scsijon on Wed 09 May 2012, 23:18; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

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

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
scsijon

Joined: 23 May 2007
Posts: 1052
Location: the australian mallee

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

_________________
Puppy T290 - BarryK's Racy but with T2 Version 9.0 is under development.
http://www.murga-linux.com/puppy/viewtopic.php?t=94575
Back to top
View user's profile Send private message Visit poster's website 
playdayz


Joined: 25 Apr 2008
Posts: 3789

PostPosted: 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
View user's profile Send private message 
scsijon

Joined: 23 May 2007
Posts: 1052
Location: the australian mallee

PostPosted: Wed 09 May 2012, 23:14    Post subject:  

thanks, will ask him if he can help
_________________
Puppy T290 - BarryK's Racy but with T2 Version 9.0 is under development.
http://www.murga-linux.com/puppy/viewtopic.php?t=94575
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4424

PostPosted: 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 ...)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
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.0553s ][ Queries: 12 (0.0048s) ][ GZIP on ]