{"id":11,"date":"2009-04-20T21:28:42","date_gmt":"2009-04-21T04:28:42","guid":{"rendered":""},"modified":"2011-03-30T10:29:33","modified_gmt":"2011-03-30T17:29:33","slug":"overlay_layout_conf","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/zmedico\/2009\/04\/20\/overlay_layout_conf\/","title":{"rendered":"New overlay config files: metadata\/layout.conf and \/etc\/portage\/repos.conf"},"content":{"rendered":"<p>Since <a href=\"http:\/\/packages.gentoo.org\/package\/sys-apps\/portage\">portage-2.2_rc29<\/a> there is support for a <strong><a href=\"http:\/\/dev.gentoo.org\/~zmedico\/portage\/doc\/man\/portage.5.html#layout.conf\">metadata\/layout.conf<\/a><\/strong> file in an overlay which is used to specify names of repositories which satisfy dependencies on eclasses and\/or ebuilds. See the <a href=\"http:\/\/archives.gentoo.org\/gentoo-dev\/msg_33c61550b4ed2b7b25dd5a4110e1ec81.xml\">QA Overlay Layout support<\/a> thread on the <a href=\"http:\/\/archives.gentoo.org\/gentoo-dev\/msg_33c61550b4ed2b7b25dd5a4110e1ec81.xml\">gentoo-dev<\/a> mailing list for information about why this is necessary, and refer to the <a href=\"http:\/\/dev.gentoo.org\/~zmedico\/portage\/doc\/man\/portage.5.html#layout.conf\">portage(5)<\/a> man page for details about the <strong><a href=\"http:\/\/dev.gentoo.org\/~zmedico\/portage\/doc\/man\/portage.5.html#layout.conf\">layout.conf<\/a><\/strong> format<\/p>\n<p>If you want overlay eclasses to override eclasses from other repos then you&#8217;ll want to refer to the <a href=\"http:\/\/dev.gentoo.org\/~zmedico\/portage\/doc\/man\/portage.5.html#repos.conf\">portage(5)<\/a> man page for information about the <a href=\"http:\/\/dev.gentoo.org\/~zmedico\/portage\/doc\/man\/portage.5.html#repos.conf\"><strong>\/etc\/portage\/repos.conf<\/strong><\/a> file which can be used to specify <em>site-specific<\/em> repository configuration information. Note that configuration settings which are specified in <a href=\"http:\/\/dev.gentoo.org\/~zmedico\/portage\/doc\/man\/portage.5.html#repos.conf\"><strong>repos.conf<\/strong><\/a> do not apply to tools such as <a href=\"http:\/\/dev.gentoo.org\/~zmedico\/portage\/doc\/man\/repoman.1.html\"><strong>repoman(1)<\/strong><\/a> and <a href=\"http:\/\/dev.gentoo.org\/~zmedico\/portage\/doc\/man\/egencache.1.html\"><strong>egencache(1)<\/strong><\/a>, since operations performed by these tools are inherently <strong>not<\/strong> <em>site-specific<\/em>.<\/p>\n<p>Since <a href=\"http:\/\/packages.gentoo.org\/package\/sys-apps\/portage\">portage-2.2_rc31<\/a>, <a href=\"http:\/\/dev.gentoo.org\/~zmedico\/portage\/doc\/man\/portage.5.html#repos.conf\"><strong>repos.conf<\/strong><\/a> can be used to create repository aliases, in case you want to substitute one repo for another one that is specified in <strong><a href=\"http:\/\/dev.gentoo.org\/~zmedico\/portage\/doc\/man\/portage.5.html#layout.conf\">layout.conf<\/a><\/strong>. This is especially useful for <a href=\"http:\/\/www.funtoo.org\/\">funtoo<\/a> users, who may want something like this in <a href=\"http:\/\/dev.gentoo.org\/~zmedico\/portage\/doc\/man\/portage.5.html#repos.conf\"><strong>\/etc\/portage\/repos.conf<\/strong><\/a>:<\/p>\n<p><code>[funtoo]<br \/>\naliases = gentoo<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since portage-2.2_rc29 there is support for a metadata\/layout.conf file in an overlay which is used to specify names of repositories which satisfy dependencies on eclasses and\/or ebuilds. See the QA Overlay Layout support thread on the gentoo-dev mailing list for information about why this is necessary, and refer to the portage(5) man page for details &hellip; <a href=\"https:\/\/blogs.gentoo.org\/zmedico\/2009\/04\/20\/overlay_layout_conf\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">New overlay config files: metadata\/layout.conf and \/etc\/portage\/repos.conf<\/span><\/a><\/p>\n","protected":false},"author":65,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/zmedico\/wp-json\/wp\/v2\/posts\/11"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/zmedico\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/zmedico\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/zmedico\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/zmedico\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":2,"href":"https:\/\/blogs.gentoo.org\/zmedico\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":63,"href":"https:\/\/blogs.gentoo.org\/zmedico\/wp-json\/wp\/v2\/posts\/11\/revisions\/63"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/zmedico\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/zmedico\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/zmedico\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}