Gentoo Archives: gentoo-catalyst

From: Burak Arslan <burak.arslan@××××××××××.tr>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] ship /usr/portage with stage4
Date: Wed, 20 Feb 2013 16:51:28
Message-Id: 5124FF04.5020201@arskom.com.tr
1 Hi there,
2
3 I've set up my first stage4 catalyst job and everything seems to be in
4 order.
5
6 My final gripe with it is that I couldn't get it to ship the contents of
7 /usr/portage inside the stage4 tarball. Having looked at the source, I
8 guess that's because the latest portage snapshot is mount --bind'ed to
9 the chroot environment, which is unmounted before creating the tarball.
10
11 Any suggestions? Am I missing something obvious here?
12
13 Best regards,
14 Burak
15
16 ps: I wouldn't prefer to ship the archive and add this to local.start:
17
18 if [ -f /portage-latest.tar.bz2 ]; then tar xjpf /portage-latest.tar.bz2
19 -C /usr && rm /portage-latest.tar.bz2; fi

Replies

Subject Author
Re: [gentoo-catalyst] ship /usr/portage with stage4 Chris White <chris.chriswhite@×××××.com>