diff options
author | sheltren <sheltren> | 2005-08-21 16:29:32 +0000 |
---|---|---|
committer | sheltren <sheltren> | 2005-08-21 16:29:32 +0000 |
commit | 7f20529487168d8955c7942c058bdd75b40e739c (patch) | |
tree | 00d6e97fbba36051b10f140ee5e78ba2cccf425a /etc | |
parent | c3bc19ff6b676dbbf7529eb4cc6ab2df7edb4667 (diff) | |
download | mock-7f20529487168d8955c7942c058bdd75b40e739c.tar.gz mock-7f20529487168d8955c7942c058bdd75b40e739c.tar.xz mock-7f20529487168d8955c7942c058bdd75b40e739c.zip |
add commands to man page, create config files for legacy distributions
Diffstat (limited to 'etc')
-rw-r--r-- | etc/fedora-1-i386-core.cfg | 47 | ||||
-rw-r--r-- | etc/fedora-2-i386-core.cfg | 47 | ||||
-rw-r--r-- | etc/redhat-73-i386.cfg | 47 | ||||
-rw-r--r-- | etc/redhat-9-i386.cfg | 47 |
4 files changed, 188 insertions, 0 deletions
diff --git a/etc/fedora-1-i386-core.cfg b/etc/fedora-1-i386-core.cfg new file mode 100644 index 0000000..052dabc --- /dev/null +++ b/etc/fedora-1-i386-core.cfg @@ -0,0 +1,47 @@ +#!/usr/bin/python -tt +import os +config_opts['root'] = 'fedora-1-i386-core' +config_opts['basedir'] = '/var/lib/mock/' +config_opts['chroot'] = '/usr/sbin/mock-helper chroot' +config_opts['mount'] = '/usr/sbin/mock-helper mount' +config_opts['umount'] = '/usr/sbin/mock-helper umount' +config_opts['rm'] = '/usr/sbin/mock-helper rm' +config_opts['mknod'] = '/usr/sbin/mock-helper mknod' +config_opts['yum'] = '/usr/sbin/mock-helper yum' +config_opts['runuser'] = '/bin/su' +config_opts['buildgroup'] = 'build' +config_opts['chrootuser'] = 'mockbuild' +config_opts['chrootgroup'] = 'mockbuild' +config_opts['chrootuid'] = os.geteuid() +config_opts['chrootgid'] = os.getegid() +config_opts['chroothome'] = '/builddir' +config_opts['clean'] = True +config_opts['target_arch'] = 'i386' + + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +logfile=/var/log/yum.log +reposdir=/dev/null +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[core] +name=core +baseurl=http://download.fedoralegacy.org/fedora/1/os/i386/ + +[updates-released] +name=updates +baseurl=http://download.fedoralegacy.org/fedora/1/updates/i386/ + +[groups] +name=groups +baseurl=http://fedoraproject.org/buildgroups/1/i386/ + +""" diff --git a/etc/fedora-2-i386-core.cfg b/etc/fedora-2-i386-core.cfg new file mode 100644 index 0000000..a9faafb --- /dev/null +++ b/etc/fedora-2-i386-core.cfg @@ -0,0 +1,47 @@ +#!/usr/bin/python -tt +import os +config_opts['root'] = 'fedora-2-i386-core' +config_opts['basedir'] = '/var/lib/mock/' +config_opts['chroot'] = '/usr/sbin/mock-helper chroot' +config_opts['mount'] = '/usr/sbin/mock-helper mount' +config_opts['umount'] = '/usr/sbin/mock-helper umount' +config_opts['rm'] = '/usr/sbin/mock-helper rm' +config_opts['mknod'] = '/usr/sbin/mock-helper mknod' +config_opts['yum'] = '/usr/sbin/mock-helper yum' +config_opts['runuser'] = '/bin/su' +config_opts['buildgroup'] = 'build' +config_opts['chrootuser'] = 'mockbuild' +config_opts['chrootgroup'] = 'mockbuild' +config_opts['chrootuid'] = os.geteuid() +config_opts['chrootgid'] = os.getegid() +config_opts['chroothome'] = '/builddir' +config_opts['clean'] = True +config_opts['target_arch'] = 'i386' + + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +logfile=/var/log/yum.log +reposdir=/dev/null +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[core] +name=core +baseurl=http://download.fedoralegacy.org/fedora/2/os/i386/ + +[updates-released] +name=updates +baseurl=http://download.fedoralegacy.org/fedora/2/updates/i386/ + +[groups] +name=groups +baseurl=http://fedoraproject.org/buildgroups/2/i386/ + +""" diff --git a/etc/redhat-73-i386.cfg b/etc/redhat-73-i386.cfg new file mode 100644 index 0000000..74b9f57 --- /dev/null +++ b/etc/redhat-73-i386.cfg @@ -0,0 +1,47 @@ +#!/usr/bin/python -tt +import os +config_opts['root'] = 'redhat-73-i386' +config_opts['basedir'] = '/var/lib/mock/' +config_opts['chroot'] = '/usr/sbin/mock-helper chroot' +config_opts['mount'] = '/usr/sbin/mock-helper mount' +config_opts['umount'] = '/usr/sbin/mock-helper umount' +config_opts['rm'] = '/usr/sbin/mock-helper rm' +config_opts['mknod'] = '/usr/sbin/mock-helper mknod' +config_opts['yum'] = '/usr/sbin/mock-helper yum' +config_opts['runuser'] = '/bin/su' +config_opts['buildgroup'] = 'build' +config_opts['chrootuser'] = 'mockbuild' +config_opts['chrootgroup'] = 'mockbuild' +config_opts['chrootuid'] = os.geteuid() +config_opts['chrootgid'] = os.getegid() +config_opts['chroothome'] = '/builddir' +config_opts['clean'] = True +config_opts['target_arch'] = 'i386' + + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +logfile=/var/log/yum.log +reposdir=/dev/null +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[core] +name=core +baseurl=http://download.fedoralegacy.org/redhat/7.3/os/i386/ + +[updates-released] +name=updates +baseurl=http://download.fedoralegacy.org/redhat/7.3/updates/i386/ + +[groups] +name=groups +baseurl=http://fedoraproject.org/buildgroups/rh73/i386/ + +""" diff --git a/etc/redhat-9-i386.cfg b/etc/redhat-9-i386.cfg new file mode 100644 index 0000000..eb68c47 --- /dev/null +++ b/etc/redhat-9-i386.cfg @@ -0,0 +1,47 @@ +#!/usr/bin/python -tt +import os +config_opts['root'] = 'redhat-9-i386' +config_opts['basedir'] = '/var/lib/mock/' +config_opts['chroot'] = '/usr/sbin/mock-helper chroot' +config_opts['mount'] = '/usr/sbin/mock-helper mount' +config_opts['umount'] = '/usr/sbin/mock-helper umount' +config_opts['rm'] = '/usr/sbin/mock-helper rm' +config_opts['mknod'] = '/usr/sbin/mock-helper mknod' +config_opts['yum'] = '/usr/sbin/mock-helper yum' +config_opts['runuser'] = '/bin/su' +config_opts['buildgroup'] = 'build' +config_opts['chrootuser'] = 'mockbuild' +config_opts['chrootgroup'] = 'mockbuild' +config_opts['chrootuid'] = os.geteuid() +config_opts['chrootgid'] = os.getegid() +config_opts['chroothome'] = '/builddir' +config_opts['clean'] = True +config_opts['target_arch'] = 'i386' + + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +logfile=/var/log/yum.log +reposdir=/dev/null +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[core] +name=core +baseurl=http://download.fedoralegacy.org/redhat/9/os/i386/ + +[updates-released] +name=updates +baseurl=http://download.fedoralegacy.org/redhat/9/updates/i386/ + +[groups] +name=groups +baseurl=http://fedoraproject.org/buildgroups/rh9/i386/ + +""" |