Personal tools
     DOCUMENTATION

rPath Linux:rPath Linux Development Contexts

From rPath Wiki

Jump to: navigation, search

rPath Linux Configuration for rMake

In order to build packages for different versions and architectures of rPath Linux (or any other Conary-based operating system or appliance) on a single development system, you need to tell rMake important information about each operating system and architecture that you want to build for. When you call rmake build to build a package, you can tell it an operating system context, plus architecture flavor information to build for. To tell it this, you need to add information to your ~/.rmakerc file.

This is a sample portion of a ~/.rmakerc file:

[x86]
flavor   ~X, ~!alternatives, !bootstrap, ~builddocs, ~buildtests, !cross, ~desktop, ~dietlibc, ~!dom0, ~!domU, ~emacs, ~gcj, ~gnome, ~gtk, ~ipv6, ~kde, ~krb, ~ldap, ~nptl, pam, ~pcre, ~perl, ~!pie, ~python, ~qt, ~readline, ~!sasl, ~!selinux, ssl, ~tcl, tcpwrappers, ~tk, !vmware, ~!xen, ~!xfce is: x86(~cmov, ~i486, ~i586, ~i686, ~mmx, ~nx, ~sse, ~sse2)
buildFlavor  ~X, ~!alternatives, !bootstrap, ~builddocs, ~buildtests, !cross, ~desktop, ~dietlibc, ~!dom0, ~!domU, ~emacs, ~gcj, ~gnome, ~gtk, ~ipv6, ~kde, ~krb, ~ldap, ~nptl, pam, ~pcre, ~perl, ~!pie, ~python, ~qt, ~readline, ~!sasl, ~!selinux, ssl, ~tcl, tcpwrappers, ~tk, !vmware, ~!xen, ~!xfce is: x86(~cmov, ~i486, ~i586, ~i686, ~mmx, ~nx, ~sse, ~sse2)

[x86_64]
buildFlavor  ~MySQL-python.threadsafe, ~X, ~!alternatives, !bootstrap, ~builddocs, ~buildtests, ~desktop, ~!dietlibc, ~!dom0, ~!domU, ~emacs, ~gcj, ~glibc.tls, ~gnome, ~grub.static, ~gtk, ~ipv6, ~kde, ~!kernel.debug, ~!kernel.debugdata, ~!kernel.numa, ~!kernel.pae, ~krb, ~ldap, ~nptl, ~!openssh.smartcard, ~!openssh.static_libcrypto, pam, ~pcre, ~perl, ~!pie, ~!postfix.mysql, ~python, ~qt, ~readline, ~!sasl, ~!selinux, ~sqlite.threadsafe, ssl, ~tcl, tcpwrappers, ~tk, ~!xen, ~!xfce, ~!xorg-x11.xprint is: x86_64(~3dnow, ~3dnowext, ~nx)
flavor  ~MySQL-python.threadsafe, ~X, ~!alternatives, !bootstrap, ~builddocs, ~buildtests, ~desktop, ~!dietlibc, ~!dom0, ~!domU, ~emacs, ~gcj, ~glibc.tls, ~gnome, ~grub.static, ~gtk, ~ipv6, ~kde, ~!kernel.debug, ~!kernel.debugdata, ~!kernel.numa, ~!kernel.pae, ~krb, ~ldap, ~nptl, ~!openssh.smartcard, ~!openssh.static_libcrypto, pam, ~pcre, ~perl, ~!pie, ~!postfix.mysql, ~python, ~qt, ~readline, ~!sasl, ~!selinux, ~sqlite.threadsafe, ssl, ~tcl, tcpwrappers, ~tk, ~!xen, ~!xfce, ~!xorg-x11.xprint is: x86_64(~3dnow, ~3dnowext, ~nx)
flavor   ~MySQL-python.threadsafe, ~X, ~!alternatives, !bootstrap, ~builddocs, ~buildtests, ~desktop, ~!dietlibc, ~!dom0, ~!domU, ~emacs, ~gcj, ~glibc.tls, ~gnome, ~grub.static, ~gtk, ~ipv6, ~kde, ~!kernel.debug, ~!kernel.debugdata, ~!kernel.numa, ~!kernel.pae, ~krb, ~ldap, ~nptl, ~!openssh.smartcard, ~!openssh.static_libcrypto, pam, ~pcre, ~perl, ~!pie, ~!postfix.mysql, ~python, ~qt, ~readline, ~!sasl, ~!selinux, ~sqlite.threadsafe, ssl, ~tcl, tcpwrappers, ~tk, ~!xen, ~!xfce, ~!xorg-x11.xprint is: x86(~3dnow, ~3dnowext, ~cmov, ~i486, ~i586, ~i686, ~mmx, ~mmxext, ~nx, ~sse, ~sse2) x86_64(~3dnow, ~3dnowext, ~nx)

[rPL1]
resolveTroves=group-os=conary.rpath.com@rpl:1

[rPL2]
# This will change from 2-qa to 2 when rPL2 is released
resolveTroves=group-os=conary.rpath.com@rpl:2-qa