* [gentoo-user] quickpkg on a complete system?
@ 2012-03-18 21:18 Mark Knecht
2012-03-18 22:00 ` [gentoo-user] " Mark Knecht
2012-03-18 22:09 ` [gentoo-user] " Alan McKinnon
0 siblings, 2 replies; 5+ messages in thread
From: Mark Knecht @ 2012-03-18 21:18 UTC (permalink / raw
To: Gentoo User
Hi,
I have a system in which I've never used the buildpkg feature so I
have no packages. The machine is completely up to date - i.e. - emerge
-DuN @world does nothing new.
I know if I turn on buildpkg and do an emerge -e @world, assuming
all the compiling completes without error, emerge will create packages
for everything that's install. That however takes lots of time.
I was reading about the quickpkg feature which supposedly creates
packages from what's already installed, but I'm not sure how to
actually run that for a complete system like this. If I put
FEATURES="quickpkg" in make.conf and run emerge -e @world, will emerge
simply make the packages for anything that's already installed, but
not actually compile the packages themselves?
Thanks,
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: quickpkg on a complete system?
2012-03-18 21:18 [gentoo-user] quickpkg on a complete system? Mark Knecht
@ 2012-03-18 22:00 ` Mark Knecht
2012-03-18 22:09 ` [gentoo-user] " Alan McKinnon
1 sibling, 0 replies; 5+ messages in thread
From: Mark Knecht @ 2012-03-18 22:00 UTC (permalink / raw
To: Gentoo User
On Sun, Mar 18, 2012 at 2:18 PM, Mark Knecht <markknecht@gmail.com> wrote:
> Hi,
> I have a system in which I've never used the buildpkg feature so I
> have no packages. The machine is completely up to date - i.e. - emerge
> -DuN @world does nothing new.
>
> I know if I turn on buildpkg and do an emerge -e @world, assuming
> all the compiling completes without error, emerge will create packages
> for everything that's install. That however takes lots of time.
>
> I was reading about the quickpkg feature which supposedly creates
> packages from what's already installed, but I'm not sure how to
> actually run that for a complete system like this. If I put
> FEATURES="quickpkg" in make.conf and run emerge -e @world, will emerge
> simply make the packages for anything that's already installed, but
> not actually compile the packages themselves?
>
> Thanks,
> Mark
OK, silly confusion on my part. quickpkg isn't a portage feature, it's
a Python script installed as part of portage.
Cheers,
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] quickpkg on a complete system?
2012-03-18 21:18 [gentoo-user] quickpkg on a complete system? Mark Knecht
2012-03-18 22:00 ` [gentoo-user] " Mark Knecht
@ 2012-03-18 22:09 ` Alan McKinnon
2012-03-18 23:10 ` Mark Knecht
1 sibling, 1 reply; 5+ messages in thread
From: Alan McKinnon @ 2012-03-18 22:09 UTC (permalink / raw
To: gentoo-user
On Sun, 18 Mar 2012 14:18:22 -0700
Mark Knecht <markknecht@gmail.com> wrote:
> Hi,
> I have a system in which I've never used the buildpkg feature so I
> have no packages. The machine is completely up to date - i.e. - emerge
> -DuN @world does nothing new.
>
> I know if I turn on buildpkg and do an emerge -e @world, assuming
> all the compiling completes without error, emerge will create packages
> for everything that's install. That however takes lots of time.
>
> I was reading about the quickpkg feature which supposedly creates
> packages from what's already installed, but I'm not sure how to
> actually run that for a complete system like this. If I put
> FEATURES="quickpkg" in make.conf and run emerge -e @world, will emerge
> simply make the packages for anything that's already installed, but
> not actually compile the packages themselves?
>
> Thanks,
> Mark
>
RTFM :-)
"man quickpkg" lists "quickpkg @system" in the examples section.
"quickpkg @world" works and does what you expect - tar and gzips the
entire package as it is on-disk. As to what is in the quickpkg, it's
the same list as you get from "equery files <pkg_name>.
Thereafter, enable FEATURES="quickpkg" and portage will keep everything
new up to date.
Also read up on eclean, which helps to remove old quickpkg cruft
--
Alan McKinnnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] quickpkg on a complete system?
2012-03-18 22:09 ` [gentoo-user] " Alan McKinnon
@ 2012-03-18 23:10 ` Mark Knecht
2012-03-18 23:40 ` Pandu Poluan
0 siblings, 1 reply; 5+ messages in thread
From: Mark Knecht @ 2012-03-18 23:10 UTC (permalink / raw
To: gentoo-user
On Sun, Mar 18, 2012 at 3:09 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Sun, 18 Mar 2012 14:18:22 -0700
> Mark Knecht <markknecht@gmail.com> wrote:
>
>> Hi,
>> I have a system in which I've never used the buildpkg feature so I
>> have no packages. The machine is completely up to date - i.e. - emerge
>> -DuN @world does nothing new.
>>
>> I know if I turn on buildpkg and do an emerge -e @world, assuming
>> all the compiling completes without error, emerge will create packages
>> for everything that's install. That however takes lots of time.
>>
>> I was reading about the quickpkg feature which supposedly creates
>> packages from what's already installed, but I'm not sure how to
>> actually run that for a complete system like this. If I put
>> FEATURES="quickpkg" in make.conf and run emerge -e @world, will emerge
>> simply make the packages for anything that's already installed, but
>> not actually compile the packages themselves?
>>
>> Thanks,
>> Mark
>>
>
> RTFM :-)
>
> "man quickpkg" lists "quickpkg @system" in the examples section.
>
Yeah, my bad and you're right about that, although if you thought it
was a portage FEATURE and ''man buildpkg' doesn't return anything then
you wouldn't even go looking for man quickpkg. (Or I didn't)
> "quickpkg @world" works and does what you expect - tar and gzips the
> entire package as it is on-disk. As to what is in the quickpkg, it's
> the same list as you get from "equery files <pkg_name>.
>
Yep, already done for the system in question. The first pass
quickpkg --include-config=y @world
only built the files specified by the @world set and not all the deep
stuff so I ended up with
eix -Ic --only-names | xargs quickpkg --include-config=y
which seems to doing the job, although it's still running so I'll have
to count the packages when it completes.
> Thereafter, enable FEATURES="quickpkg" and portage will keep everything
> new up to date.
>
Actually I suspect that's supposed to be FEATURES="buildpkg" which I
use on other machines here at home.
> Also read up on eclean, which helps to remove old quickpkg cruft
>
Yep, already use it.
>
> --
> Alan McKinnnon
> alan.mckinnon@gmail.com
>
>
Thanks!
- Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] quickpkg on a complete system?
2012-03-18 23:10 ` Mark Knecht
@ 2012-03-18 23:40 ` Pandu Poluan
0 siblings, 0 replies; 5+ messages in thread
From: Pandu Poluan @ 2012-03-18 23:40 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 393 bytes --]
On Mar 19, 2012 6:13 AM, "Mark Knecht" <markknecht@gmail.com> wrote:
>
---- >8 snip
>
> eix -Ic --only-names | xargs quickpkg --include-config=y
>
> which seems to doing the job, although it's still running so I'll have
> to count the packages when it completes.
>
I personally would use xargs' -P and -n options to introduce some
parallelism. But I haven't actually tested that :-)
Rgds,
[-- Attachment #2: Type: text/html, Size: 556 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-03-18 23:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-18 21:18 [gentoo-user] quickpkg on a complete system? Mark Knecht
2012-03-18 22:00 ` [gentoo-user] " Mark Knecht
2012-03-18 22:09 ` [gentoo-user] " Alan McKinnon
2012-03-18 23:10 ` Mark Knecht
2012-03-18 23:40 ` Pandu Poluan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox