Gentoo Archives: gentoo-dev

From: Jon Portnoy <avenj@g.o>
To: Michael Boman <michael.boman@××××××××××.com>
Cc: Gentoo Development List <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] Only offer pre-compiled packages?
Date: Sun, 13 Apr 2003 16:10:35
Message-Id: 20030413161032.GC2956@cerberus.oppresses.us
In Reply to: Re: [gentoo-dev] Only offer pre-compiled packages? by Michael Boman
1 Yeah... the man page tends to get out of date quickly. 'emerge --help'
2 is usually more accurate.
3
4 If I have some time I may submit some updates to the man page.
5
6 On Sun, Apr 13, 2003 at 04:14:30PM +0800, Michael Boman wrote:
7 > On Sun, Apr 13, 2003 at 03:47:06AM -0400, Jon Portnoy wrote:
8 > >
9 > > Capital K, which (I believe) is use binary packages only.
10 > >
11 >
12 > Yes, you are correct. Please take note, the man page is out-of-date.
13 >
14 > With capital K I belive I have what I need ;)
15 >
16 > Thanks Jon!
17 >
18 > Best regards
19 > Michael Boman
20 >
21 > > On Sun, Apr 13, 2003 at 03:45:21PM +0800, Michael Boman wrote:
22 > > > On Sun, Apr 13, 2003 at 03:40:02AM -0400, Jon Portnoy wrote:
23 > > > >
24 > > > > I think the -K option for emerge does this.
25 > > > >
26 > > > > On Sun, Apr 13, 2003 at 03:36:21PM +0800, Michael Boman wrote:
27 > > > > > Is there a way to let machines only see (updated) pre-compiled packages
28 > > > > > when they do 'emerge -p world'? I am thinking of providing a local
29 > > > > > repository of "authorized/tested" software over NFS and when you do
30 > > > > > 'emerge world' it will take the latest version from the pre-compiled
31 > > > > > pile of packages, totally ignoring what is availble as ebuild's from
32 > > > > > rsync.gentoo.org or in the PORTAGE_OVERLAY dir..
33 > > > > >
34 > > > > > Doable? How?
35 > > >
36 > > > From the emerge man-page:
37 > > >
38 > > > --usepkg (-k)
39 > > > Tells emerge to use binary packages (from $PKGDIR) if they are
40 > > > available, thus possibly avoiding some time-consuming compiles.
41 > > > This option is useful for CD installs; you can export
42 > > > PKGDIR=/mnt/cdrom/packages and then use this option to have
43 > > > emerge "pull" binary packages from the CD in order to satisfy
44 > > > dependencies.
45 > > >
46 > > > My biggest problem is the wording
47 > > > "to use binary packages (from $PKGDIR) >>if<< they are available"
48 > > >
49 > > > It hints that if a newer ebuild is availble it will still be compiled,
50 > > > and not taken from the pre-compiled repository.
51 > > >
52 > > > If I am wrong please let me know ;)
53 > > >
54 >
55 > --
56 > Michael Boman
57 > Security Architect, SecureCiRT Pte Ltd
58 > http://www.securecirt.com
59
60
61
62 --
63 Jon Portnoy
64 avenj/irc.freenode.net
65
66 --
67 gentoo-dev@g.o mailing list