Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
quickpkg everything
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
forkboy
Apprentice
Apprentice


Joined: 24 Nov 2004
Posts: 200
Location: Blackpool, UK

PostPosted: Tue Jul 31, 2007 10:35 pm    Post subject: quickpkg everything Reply with quote

Its probably been mentioned loads of times before but I couldn't find it... is there an easy way to do quickpkg on everything on my system?
Back to top
View user's profile Send private message
Rob1n
l33t
l33t


Joined: 29 Nov 2003
Posts: 714
Location: Cambridge, UK

PostPosted: Tue Jul 31, 2007 11:16 pm    Post subject: Reply with quote

Not sure whether there's an official way, but this ought to work:
Code:

quickpkg /var/db/pkg/*/*


Alternately, you could do:
Code:

equery -q list -i | xargs -I PKG quickpkg "=PKG"
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Jul 31, 2007 11:23 pm    Post subject: Reply with quote

How about this:
Quote:

FEATURES = "sandbox ccache"
Defines actions portage takes by default. These options should not be changed by anyone but developers and/or maintain-
ers. 'sandbox' is an important part of FEATURES and should not be disabled by default. This is an incremental variable.

<snip>

buildpkg
Binary packages will be created for all packages that are merged.
<snip>


(from man make.conf)

Ignore the bit about not changing it. Just don't remove the standard stuff like sandbox. You still need to make packages for everything already emerged, though.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
96140
Retired Dev
Retired Dev


Joined: 23 Jan 2005
Posts: 1324

PostPosted: Tue Jul 31, 2007 11:26 pm    Post subject: Reply with quote

--

Last edited by 96140 on Fri Sep 13, 2013 9:16 am; edited 1 time in total
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Wed Aug 01, 2007 12:42 am    Post subject: Reply with quote

Here is a script I found here a few years ago that only does this for packages that are not already packaged:

# cat g-backup-binpkg.sh
Code:
#!/bin/bash
for foo in `find /var/db/pkg/ -mindepth 2 -type d | sed s:/var\/db\/pkg\/.*/::`;
do
[[ ! -f "/usr/portage/packages/All/${foo}.tbz2" ]] && time sudo quickpkg =${foo} ;
done

_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
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