1 |
On Wed, 2007-04-04 at 20:43 +0000, Nelson Batalha wrote: |
2 |
> >Like, where does emerge look for existing packages? |
3 |
> |
4 |
> Sorry about that. Asked a friend, and it's simply /var/db, posted a bug to |
5 |
> include that info on the man page. |
6 |
> |
7 |
> The reason it doesn't find the packages is because, at the moment when |
8 |
> unmerge.sh starts, /var/db is empty! Though the livecd-stage1 has a /var/db, |
9 |
> so this target deletes it just on my case? (researching) |
10 |
|
11 |
Ahhh... which livecd/type are you using? |
12 |
|
13 |
We move /var/db to /usr/livecd in certain circumstances. Try adding |
14 |
this: |
15 |
|
16 |
ln -sf /usr/livecd/db /var |
17 |
|
18 |
This should symlink the VDB back into /var where portage expects it. |
19 |
Sorry, I'd forgotten that we don't remove stuff in unmerge on the LiveCD |
20 |
builds, only on the minimal builds, which doesn't move VDB (since we |
21 |
delete it later). |
22 |
|
23 |
In fact, you can do the symlinking, then rm -rf /usr/livecd/db in your |
24 |
build if you're not using the Installer. You only need a VDB on a CD if |
25 |
you're using the Installer itself, or you plan on allowing people to |
26 |
emerge stuff directly on the CD via Unionfs or tmpfs (or both). |
27 |
|
28 |
-- |
29 |
Chris Gianelloni |
30 |
Release Engineering Strategic Lead |
31 |
Alpha/AMD64/x86 Architecture Teams |
32 |
Games Developer/Council Member/Foundation Trustee |
33 |
Gentoo Foundation |