1 |
On Sun, Apr 13, 2003 at 03:47:06AM -0400, Jon Portnoy wrote: |
2 |
> |
3 |
> Capital K, which (I believe) is use binary packages only. |
4 |
> |
5 |
|
6 |
Yes, you are correct. Please take note, the man page is out-of-date. |
7 |
|
8 |
With capital K I belive I have what I need ;) |
9 |
|
10 |
Thanks Jon! |
11 |
|
12 |
Best regards |
13 |
Michael Boman |
14 |
|
15 |
> On Sun, Apr 13, 2003 at 03:45:21PM +0800, Michael Boman wrote: |
16 |
> > On Sun, Apr 13, 2003 at 03:40:02AM -0400, Jon Portnoy wrote: |
17 |
> > > |
18 |
> > > I think the -K option for emerge does this. |
19 |
> > > |
20 |
> > > On Sun, Apr 13, 2003 at 03:36:21PM +0800, Michael Boman wrote: |
21 |
> > > > Is there a way to let machines only see (updated) pre-compiled packages |
22 |
> > > > when they do 'emerge -p world'? I am thinking of providing a local |
23 |
> > > > repository of "authorized/tested" software over NFS and when you do |
24 |
> > > > 'emerge world' it will take the latest version from the pre-compiled |
25 |
> > > > pile of packages, totally ignoring what is availble as ebuild's from |
26 |
> > > > rsync.gentoo.org or in the PORTAGE_OVERLAY dir.. |
27 |
> > > > |
28 |
> > > > Doable? How? |
29 |
> > |
30 |
> > From the emerge man-page: |
31 |
> > |
32 |
> > --usepkg (-k) |
33 |
> > Tells emerge to use binary packages (from $PKGDIR) if they are |
34 |
> > available, thus possibly avoiding some time-consuming compiles. |
35 |
> > This option is useful for CD installs; you can export |
36 |
> > PKGDIR=/mnt/cdrom/packages and then use this option to have |
37 |
> > emerge "pull" binary packages from the CD in order to satisfy |
38 |
> > dependencies. |
39 |
> > |
40 |
> > My biggest problem is the wording |
41 |
> > "to use binary packages (from $PKGDIR) >>if<< they are available" |
42 |
> > |
43 |
> > It hints that if a newer ebuild is availble it will still be compiled, |
44 |
> > and not taken from the pre-compiled repository. |
45 |
> > |
46 |
> > If I am wrong please let me know ;) |
47 |
> > |
48 |
|
49 |
-- |
50 |
Michael Boman |
51 |
Security Architect, SecureCiRT Pte Ltd |
52 |
http://www.securecirt.com |