public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: Chris White <chris.chriswhite@gmail.com>
To: gentoo-catalyst@lists.gentoo.org
Subject: Re: [gentoo-catalyst] ship /usr/portage with stage4
Date: Wed, 20 Feb 2013 08:55:30 -0800	[thread overview]
Message-ID: <CA+_+8cpQw6NPqZCD5Zf=L36YBNs2kzXmz=wSP_EvwR59P_O-uA@mail.gmail.com> (raw)
In-Reply-To: <5124FF04.5020201@arskom.com.tr>

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

On Wed, Feb 20, 2013 at 8:51 AM, Burak Arslan <burak.arslan@arskom.com.tr>wrote:

> Hi there,
>
> I've set up my first stage4 catalyst job and everything seems to be in
> order.
>
> My final gripe with it is that I couldn't get it to ship the contents of
> /usr/portage inside the stage4 tarball. Having looked at the source, I
> guess that's because the latest portage snapshot is mount --bind'ed to the
> chroot environment, which is unmounted before creating the tarball.
>
> Any suggestions? Am I missing something obvious here?
>

Yes, you need to disable snapcache in your catalyst config `options` value:

# snapcache = cache the snapshot so that it can be bind-mounted into the
chroot.
# WARNING: moving parts of the portage tree from within fsscript *will*
break
# your cache. The cache is unlinked before any empty or rm processing,
though.
#

In general I tend to keep a different catalyst config for stage 4 and stage
1-3, passing in the appropriate config file using `-c`

- Chris

[-- Attachment #2: Type: text/html, Size: 1855 bytes --]

      reply	other threads:[~2013-02-20 16:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-20 16:51 [gentoo-catalyst] ship /usr/portage with stage4 Burak Arslan
2013-02-20 16:55 ` Chris White [this message]

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='CA+_+8cpQw6NPqZCD5Zf=L36YBNs2kzXmz=wSP_EvwR59P_O-uA@mail.gmail.com' \
    --to=chris.chriswhite@gmail.com \
    --cc=gentoo-catalyst@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