View previous topic :: View next topic |
Author |
Message |
forkboy Apprentice
Joined: 24 Nov 2004 Posts: 200 Location: Blackpool, UK
|
Posted: Tue Jul 31, 2007 10:35 pm Post subject: quickpkg everything |
|
|
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 |
|
|
Rob1n l33t
Joined: 29 Nov 2003 Posts: 714 Location: Cambridge, UK
|
Posted: Tue Jul 31, 2007 11:16 pm Post subject: |
|
|
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 |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Tue Jul 31, 2007 11:23 pm Post subject: |
|
|
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 |
|
|
96140 Retired Dev
Joined: 23 Jan 2005 Posts: 1324
|
Posted: Tue Jul 31, 2007 11:26 pm Post subject: |
|
|
--
Last edited by 96140 on Fri Sep 13, 2013 9:16 am; edited 1 time in total |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Wed Aug 01, 2007 12:42 am Post subject: |
|
|
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 |
|
|
|