The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Funtoo:Metro"
Line 9: | Line 9: | ||
<!--T:1--> | <!--T:1--> | ||
== Installation == | == Installation == | ||
=== Prerequisites === | |||
<!--T:22--> | <!--T:22--> | ||
Line 21: | Line 19: | ||
}} | }} | ||
=== Cloning Metro === | |||
<!--T:24--> | <!--T:24--> | ||
'''The recommended and supported method for installing metro''' is to clone metro's git repository to {{f|/root}}. Clone the master git repository as follows: | |||
<!--T:25--> | <!--T:25--> | ||
{{console|body= | {{console|body= | ||
# ##i##cd /root | # ##i##cd /root | ||
# ##i##git clone | # ##i##git clone https://github.com/funtoo/metro | ||
# ##i##cp /root/metro/metro.conf ~/.metro | # ##i##cp /root/metro/metro.conf ~/.metro | ||
}} | }} | ||
Line 34: | Line 33: | ||
You will now have a directory called {{c|/root/metro}} that contains all the Metro source code. | You will now have a directory called {{c|/root/metro}} that contains all the Metro source code. | ||
=== Setting up ego=== | === Setting up ego=== | ||
Now, we will set the {{c|ego}}, administration tool of Funtoo Linux. The way it is used with metro is independent from {{c|app-admin/ego}} installed on your box. Setup is easy as follows: | Now, we will set the {{c|ego}}, administration tool of Funtoo Linux. The way it is used with metro is independent from {{c|app-admin/ego}} installed on your box. This local cloned copy of ego allows metro to potentially use a newer version of ego than what is already installed on your system, or to function under other non-Funtoo distributions like Gentoo or Ubuntu. Setup is easy as follows: | ||
{{console|body= | {{console|body= | ||
# ##i##cd /root | # ##i##cd /root | ||
# ##i##git clone https://github.com/funtoo/ego | # ##i##git clone https://github.com/funtoo/ego | ||
}} | }} | ||
This way you will have {{c|/root/ego}} directory with {{c|ego}} binary that is then used by metro. | This way you will have {{c|/root/ego}} directory with {{c|ego}} binary that is then used by metro. |
Revision as of 02:04, February 17, 2019
Installation
Prerequisites
Ensure that dev-vcs/git, No results, No results and No results are installed on your system.
root # emerge dev-vcs/git dev-python/requests dev-python/sqlalchemy dev-python/lxml
Cloning Metro
The recommended and supported method for installing metro is to clone metro's git repository to /root
. Clone the master git repository as follows:
root # cd /root root # git clone https://github.com/funtoo/metro root # cp /root/metro/metro.conf ~/.metro
You will now have a directory called /root/metro
that contains all the Metro source code.
Setting up ego
Now, we will set the ego
, administration tool of Funtoo Linux. The way it is used with metro is independent from app-admin/ego
installed on your box. This local cloned copy of ego allows metro to potentially use a newer version of ego than what is already installed on your system, or to function under other non-Funtoo distributions like Gentoo or Ubuntu. Setup is easy as follows:
root # cd /root root # git clone https://github.com/funtoo/ego
This way you will have /root/ego
directory with ego
binary that is then used by metro.
Build Repository Setup
Metro uses a repository to store built stages and snapshots, which typically resides at /home/mirror/funtoo
. There are two methods to set up your build repository -- it can be done manually or with our auto-setup script. The auto-setup script is of course faster and easier, while the manual method may give you a deeper understanding of how the build repository internals work.
First Build
Once your build repository has been set up, you can start your first build using a command similar to the one below:
root # /root/metro/scripts/ezbuild.sh 1.3-release-std x86-64bit amd64-zen full