The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Funtoo:Metro/Configuring Metro"
(Created page with "{{Note|Metro is not currently able to build Gentoo stages. See {{Bug|FL-901}}.}} <!--T:30--> Daniel Robbins maintains Metro, so it comes pre-configured to s...") |
m (FuzzyBot moved page Metro/Configuring Metro to Funtoo:Metro/Configuring Metro without leaving a redirect: Part of translatable page "Metro") |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
You may want to customize some basic settings like the number of concurrent jobs to fit your hardware's capabilities or the directory to use for produced stage archives. This is accomplished by editing {{c|~/.metro}} which is the Metro's master configuration file. | |||
Please note that {{c|path/install}} must point to where metro was installed. Point {{c|path/distfiles}} to where your distfiles reside. Also set {{c|path/mirror/owner}} and {{c|path/mirror/group}} to the owner and group of all the files that will be written to the build repository directory, which by default (as per the configuration file) is at {{c|/home/mirror/funtoo}}. The cache directory normally resides inside the temp directory -- this can be modified as desired. The cache directory can end up holding many cached .tbz2 packages, and eat up a lot of storage. You may want to place the temp directory on faster storage, for faster compile times, and place the cache directory on slower, but more plentiful storage. | Please note that {{c|path/install}} must point to where metro was installed. Point {{c|path/distfiles}} to where your distfiles reside. Also set {{c|path/mirror/owner}} and {{c|path/mirror/group}} to the owner and group of all the files that will be written to the build repository directory, which by default (as per the configuration file) is at {{c|/home/mirror/funtoo}}. The cache directory normally resides inside the temp directory -- this can be modified as desired. The cache directory can end up holding many cached .tbz2 packages, and eat up a lot of storage. You may want to place the temp directory on faster storage, for faster compile times, and place the cache directory on slower, but more plentiful storage. | ||
{{file|name=.metro|desc=Metro configuration|body= | {{file|name=.metro|desc=Metro configuration|body= | ||
# Main metro configuration file - these settings need to be tailored to your install: | # Main metro configuration file - these settings need to be tailored to your install: | ||
[section path] | [section path] | ||
install: /root/metro | install: /root/metro | ||
Line 19: | Line 13: | ||
work: $[path/tmp]/work/$[target/build]/$[target/name] | work: $[path/tmp]/work/$[target/build]/$[target/name] | ||
[section path/mirror] | [section path/mirror] | ||
: /home/mirror/funtoo | : /home/mirror/funtoo | ||
owner: root | owner: root | ||
Line 28: | Line 20: | ||
dirmode: 775 | dirmode: 775 | ||
[section portage] | [section portage] | ||
MAKEOPTS: auto | MAKEOPTS: auto | ||
[section emerge] | [section emerge] | ||
options: --jobs=4 --load-average=4 --keep-going=n | options: --jobs=4 --load-average=4 --keep-going=n | ||
# This line should not be modified: | # This line should not be modified: | ||
[collect $[path/install]/etc/master.conf] | [collect $[path/install]/etc/master.conf] | ||
}} | }} | ||
[[Category:Official Documentation]] | |||
[[Category:Metro]] |
Latest revision as of 03:26, February 25, 2022
You may want to customize some basic settings like the number of concurrent jobs to fit your hardware's capabilities or the directory to use for produced stage archives. This is accomplished by editing ~/.metro
which is the Metro's master configuration file.
Please note that path/install
must point to where metro was installed. Point path/distfiles
to where your distfiles reside. Also set path/mirror/owner
and path/mirror/group
to the owner and group of all the files that will be written to the build repository directory, which by default (as per the configuration file) is at /home/mirror/funtoo
. The cache directory normally resides inside the temp directory -- this can be modified as desired. The cache directory can end up holding many cached .tbz2 packages, and eat up a lot of storage. You may want to place the temp directory on faster storage, for faster compile times, and place the cache directory on slower, but more plentiful storage.
.metro
- Metro configuration# Main metro configuration file - these settings need to be tailored to your install:
[section path]
install: /root/metro
tmp: /var/tmp/metro
cache: $[path/tmp]/cache
distfiles: /var/src/distfiles
work: $[path/tmp]/work/$[target/build]/$[target/name]
[section path/mirror]
: /home/mirror/funtoo
owner: root
group: repomgr
dirmode: 775
[section portage]
MAKEOPTS: auto
[section emerge]
options: --jobs=4 --load-average=4 --keep-going=n
# This line should not be modified:
[collect $[path/install]/etc/master.conf]