How Metro Works

From Funtoo Linux
Revision as of 15:01, 7 January 2011 by 404 Error (Talk)

Jump to: navigation, search

Metro is a somewhat complex set of shell scripts and various files that automagically creates stages 1/2/3 tarballs used to emerge your Funtoo system. Of course, Metro needs a seed to start its work and will recompile things like the so well known gcc and glibc. A 'seed' is either pre-built a stage 3 archive available on any Funtoo mirror or a snpashot of your current Funtoo installation . Hint : those who use BTRFS/ZFS or any snapshotable filesystem will enjoy their choice here :-)

Arborescence description

Don't search through your bin directories, everything lies in /usr/lib/metro.

TODO: Explain briefly what file does what.

How things works ?

TODO


 Metro Data Model explains to logic used in spec files.

Adding a new sub architecture

As of Januray 2011, Metro can handle the IA-32 architecture (x86/32 and x/86 bits) as well as being able to handle several x86 flavous lying beneath the generic 'x86 and 'amd64' taxonomies. The example here is a try to add the necessary specification file to make it generate stage 1/2/3 tarballs for tiers architectures.

Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff