Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
Date: Fri, 30 Aug 2013 09:21:05
Message-Id: 5220631C.4030703@gmail.com
In Reply to: [gentoo-user] Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf' by "东方巽雷"
1 On 30/08/2013 11:14, 东方巽雷 wrote:
2 > What does the title mean?I always seem it when running emerge,but the
3 > file /usr/local/portage/metadata/layout.conf does not exist.
4
5
6 That's the entire problem, the file does not exist so the required
7 information in it cannot be there.
8
9 The masters attribute is required for overlays (even personal local
10 ones). Use layout.conf from $PORTDIR as a guide. The file looks
11 something like this:
12
13 masters = gentoo
14 # Use new hashes
15 manifest-hashes = SHA256 SHA512 WHIRLPOOL
16 # Do not update changelogs
17 update-changelog = false
18 # Use thin manifests
19 thin-manifests = true
20 # Dont sign thinn manifests. There is no current policy for git commit
21 signing
22 sign-manifests = false
23 # Make egencache generate newer (more reliable)
24 # md5-dict cache format (see bug #409445).
25
26
27 --
28 Alan McKinnon
29 alan.mckinnon@×××××.com