On Wed, 2007-04-04 at 20:43 +0000, Nelson Batalha wrote:
> >Like, where does emerge look for existing packages?
> 
> Sorry about that. Asked a friend, and it's simply /var/db, posted a bug to 
> include that info on the man page.
> 
> The reason it doesn't find the packages is because, at the moment when 
> unmerge.sh starts, /var/db is empty! Though the livecd-stage1 has a /var/db, 
> so this target deletes it just on my case? (researching)

Ahhh... which livecd/type are you using?

We move /var/db to /usr/livecd in certain circumstances.  Try adding
this:

ln -sf /usr/livecd/db /var

This should symlink the VDB back into /var where portage expects it.
Sorry, I'd forgotten that we don't remove stuff in unmerge on the LiveCD
builds, only on the minimal builds, which doesn't move VDB (since we
delete it later).

In fact, you can do the symlinking, then rm -rf /usr/livecd/db in your
build if you're not using the Installer.  You only need a VDB on a CD if
you're using the Installer itself, or you plan on allowing people to
emerge stuff directly on the CD via Unionfs or tmpfs (or both).

-- 
Chris Gianelloni
Release Engineering Strategic Lead
Alpha/AMD64/x86 Architecture Teams
Games Developer/Council Member/Foundation Trustee
Gentoo Foundation

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to