public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Fatih Tümen" <fthtmn+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] emerge --buildpkg --unmerge
Date: Fri, 29 Oct 2010 19:46:28 +0300	[thread overview]
Message-ID: <AANLkTimfz2__eb0SfD9EtTX+Ov6LjVHVfmiuyKU526YT@mail.gmail.com> (raw)

Hi,

Is there a way tell portage to build binary package before removing it
from the system?

man emerge says:
--buildpkg (-b)
              Tells  emerge  to  build binary packages for all ebuilds
processed in addition to actually **merging** the packages.
              [...]
              An alternative for already-merged packages is to use
quickpkg(1) which creates a tbz2 from the live filesystem.

I have about 20 packages to unmerge or remerge with new use flags. But
I want to keep binary copies (with old use settings) before unmerging
them. Unfortunately I did not have buildpkg in FEATURES at the time of
emerging them. Doing this now by hand sounds kinda fatigue unless...
the output of --pretend was parsable so I do what I want by..

for pkg in ${PKGS}; do quickpkg --include-config\=y $pkg; done

or by something better?

Thanks for ideas in advance.
--
   Fatih



             reply	other threads:[~2010-10-29 16:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-29 16:46 Fatih Tümen [this message]
2010-10-29 18:18 ` [gentoo-user] emerge --buildpkg --unmerge Alan McKinnon
2010-10-29 19:26   ` Fatih Tümen
2010-10-29 19:54     ` Alan McKinnon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimfz2__eb0SfD9EtTX+Ov6LjVHVfmiuyKU526YT@mail.gmail.com \
    --to=fthtmn+gentoo@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox