Answers:
OpenSUSE Build System支持多种发行版并支持您描述的环境(沙盒环境),以确保构建是一致且可靠的:
您也可以将OpenSUSE Build System安装为设备。这是一个独立的Linux VM映像(支持VMware,QEmu或ISO版本),包含用于设置自己的构建场的整个堆栈:
mach通过适当的配置文件支持RHEL,例如:
V = '5Server' # distro version
VS = '5' # 'short' version
A = 'i386' # architecture
AS = '' # 'short' version of arch
DIST = 'rhel-%s-%s' % (V, A)
### RHEL flavours
yumsources[DIST] = {
'os': rhelyum + '/%s/%s/os' % (V, A),
'updates': rhelyum + '/%s/%s/updates' % (V, A),
}
# RHEL
packages['%s' % DIST] = {
'dir': DIST,
'minimal': 'bash glibc redhat-release',
'base': 'coreutils findutils openssh-server',
'build': 'dev redhat-rpm-config rpm-build make gcc gcc-c++ tar gzip ' +
'patch unzip bzip2 diffutils cpio elfutils which',
}
sourceslist['%s' % DIST] = {
DIST: ('os', 'updates', )
}
config['%s' % DIST] = {
'runuser': '/sbin/runuser',
'macros': { 'dist': '.el' + VS, 'rhel': VS, 'redhat': VS},
}
aliases['%s' % DIST] = ('el' + VS + AS, )