Build software updates
Please note you need to login as the
build user on the
lxsoft cluster.
ssh build@lxsoft
Pre build checklist
Check AFS quota, once in a while:
/mnt/data2/home/build/bin/bsadmincheckquota -w | grep slc[5,6]X
Incoming
Incoming is split for each repository : updates, cernonly, extras, etc... so you need to copy your package to the right destination.
Please note that source or binary package can be added to incoming.
SLC5 |
SLC6 |
Incoming |
/mnt/data2/home/build/packages/incoming/slc5/updates |
/mnt/data2/home/build/packages/incoming/slc6/updates |
/mnt/data2/home/build/packages/incoming/slc5/extras |
/mnt/data2/home/build/packages/incoming/slc6/extras |
/mnt/data2/home/build/packages/incoming/slc5/cernonly |
/mnt/data2/home/build/packages/incoming/slc6/cernonly |
/mnt/data2/home/build/packages/incoming/slc5/mrg |
/mnt/data2/home/build/packages/incoming/slc6/mrg |
Build
Check for new packages and build |
/mnt/data2/home/build/bin/bsbuild -d "slc5 slc6" -r "updates extras cernonly mrg" |
Verify build status in Koji: https://koji.cern.ch/koji/ |
Download / sign/ biarch / check packages |
/mnt/data2/home/build/bin/bsdownload -s -d "slc5 slc6" -r "updates extras cernonly mrg" |
Grab the key in tbag : tbag show distribution_signing_key_passphrase --hg linuxsupport/lxsoft |
Release to -testing
SLC5 AND SLC6 (NOT CC7) IN ONE GO |
SLC5 |
SLC6 |
CC7 |
/mnt/data2/home/build/bin/bsbuild2test -d "slc5 slc6" -r "testing" |
/mnt/data2/home/build/bin/bsbuild2test -d slc5 -r "testing" |
/mnt/data2/home/build/bin/bsbuild2test -d slc6 -r "testing" |
/mnt/data2/home/build/bin/bsbuild2test -d cc7 -r cernonly |
/mnt/data2/home/build/bin/bsregenrepos -d "slc5 slc6" -r "testing mrg-testing" |
/mnt/data2/home/build/bin/bsregenrepos -d slc5 -r "testing mrg-testing" |
/mnt/data2/home/build/bin/bsregenrepos -d slc6 -r "testing mrg-testing" |
/mnt/data2/home/build/bin/bsregenrepos -d cc7 -r cernonly-testing |
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d "slc5 slc6" -r "testing mrg-testing" |
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d slc5 -r "testing mrg-testing" |
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d slc6 -r "testing mrg-testing" |
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d cc7 -r cernonly-testing |
Email users |
|
/mnt/data2/home/build/bin/bsmailusers -d slc5 -r testing |
/mnt/data2/home/build/bin/bsmailusers -d slc6 -r testing |
/mnt/data2/home/build/bin/bsmailusers -d cc7 -r testing |
Check carefully if the output is correct |
Email will be sent to $EDITOR before sending it, remove -e if not wanted |
/mnt/data2/home/build/bin/bsmailusers -d slc5 -r testing -e -s -w |
/mnt/data2/home/build/bin/bsmailusers -d slc6 -r testing -e -s -w |
/mnt/data2/home/build/bin/bsmailusers -d cc7 -r testing -e -s -w |
Testing to production
ALL AT ONCE |
SLC5 |
SLC6 |
Display pending updates |
/mnt/data2/home/build/bin/bstest2prod -d "slc5 slc6" -r "updates mrg" |
/mnt/data2/home/build/bin/bstest2prod -d slc5 -r "updates mrg" |
/mnt/data2/home/build/bin/bstest2prod -d slc6 -r "updates mrg ev" |
Promote individual package |
|
/mnt/data2/home/build/bin/bstest2prod -d slc5 -r "updates mrg" pkgname |
/mnt/data2/home/build/bin/bstest2prod -d slc6 -r "updates mrg ev" pkgname |
Regenerate repo's, sync them across servers |
/mnt/data2/home/build/bin/bsregenrepos -d "slc5 slc6" -r "testing mrg-testing cernonly extras updates mrg" |
/mnt/data2/home/build/bin/bsregenrepos -d slc5 -r "testing mrg-testing cernonly extras updates mrg" |
/mnt/data2/home/build/bin/bsregenrepos -d slc6 -r "testing mrg-testing ev-testing cernonly extras updates mrg ev " |
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d "slc5 slc6" -r "testing mrg-testing cernonly extras updates mrg" |
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d slc5 -r "testing mrg-testing cernonly extras updates mrg" |
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d slc6 -r "testing mrg-testing ev-testing cernonly extras updates mrg ev" |
Email users |
|
/mnt/data2/home/build/bin/bsmailusers -d slc5 -r updates |
/mnt/data2/home/build/bin/bsmailusers -d slc6 -r updates |
Check carefully if the output is correct |
Email will be sent to $EDITOR before sending it, remove -e if not wanted |
/mnt/data2/home/build/bin/bsmailusers -d slc5 -r updates -e -s -w |
/mnt/data2/home/build/bin/bsmailusers -d slc6 -r updates -e -s -w |
Update web pages Note: use the HowToUpdateWeb procedure |
|
/afs/cern.ch/project/linux/wwwtest/freshnews.shtml |
/afs/cern.ch/project/linux/wwwtest/freshnews.shtml |
|
/afs/cern.ch/project/linux/adm/bin/wwwtest2prod |
/afs/cern.ch/project/linux/adm/bin/wwwtest2prod |
Compile package against specific Kernel
If there is a new kernel (build all available module) :
koji tag-build slcX-testing-updates kernel-2.6X.elX
bsbuildmodules -d slcX -k 2.6.XXX.elX
bscopymodules -d slcX -k 2.6.XXX.elX
Compile OpenAFS for el6 nonpae
koji tag-build slc6nonpae-testing-updates kernel-2.6X.el6.nonpae
bsbuildmodules -d slc6nonpae -k 2.6.XXX.el6.nonpae
bscopymodules -d slc6nonpae -k 2.6.XXX.el6.nonpae
ZFS on Linux
compile zfs
Starting 28/04/2015 we support ZFS for each new el6 kernel release (Main user IT-DSS) :
koji tag-pkg slc6-testing-updates kernel-2.6X.elX
bsbuildzfs -k 2.6.XXX.elX
bsbuildzfs -k 2.6.XXX.elX -c
As a test , just run :
$ yum install zfs
$ yum update zfs
create src.rpm for new version
IT-DSS should provide them but just in case :
$ wget http://archive.zfsonlinux.org/downloads/zfsonlinux/spl/spl-x.y.z.tar.gz
$ wget http://archive.zfsonlinux.org/downloads/zfsonlinux/zfs/zfs-x.y.z.tar.gz
$ tar -xzf spl-x.y.z.tar.gz
$ tar -xzf zfs-x.y.z.tar.gz
$ cd spl-x.y.z
$ ./configure --with-config=user
$ make srpm
$ cd ../zfs-x.y.z
$ ./configure --with-config=user
$ make srpm
Compile lin_tape
Compile against the first kernel from a RHEL minor release.
Add a new package
If package is not going to updates:
- Edit /mnt/data2/home/build/bin/utils.sh in wheredoIbelong()
- Add the package to correct distribution/destination
- Copy it to packages/incoming/slcX/{cernonly,extras}
Otherwise:
- Copy it to packages/incoming/slcX/updates
Modified packages
SLC5
- anaconda : fix kudzu version to latest.
- gdm : update gdm-2.16.0-change-defaults.patch for theme RHEL -> EaseOfBlue line 173
- gfs-kmod : set kernel version to latest one in .spec.
- kvm : make sure that kernel version is set to latest one in .spec, no action needed if lates released kernel is used.
- nss : We patch it to add CERN certificates. Modifications to be done are adding '.cern' to Release in spec file., adding certdata.cern.txt as Source100, patching pre section of the spec file. See attached nss-cern.spec: CERN patched NSS spec. and certdata.cern.txt: certdata.cern.txt adding CERN certificates. Also need to disable test(> 6.5 and > 5.10 DISABLETEST=1). [Is this still true? Seems it was not done for nss-3.15.3-7.el5_10, and I also did not do it for nss-3.16.1-4.el5_11].
- yum : add dependency on python-hashlib for wider repo checksum compatibility
SLC6
- abrt : add cern gpg keys
- alpine : patch for MS Exchange 2010 Kerberized SMTP
- chromium-browser: patch spec file to replace Red Hat Google API keys by ours.
- cvs : Apply good-old GSSAPI patch - see spec file for details
- icewm : added 'java7' patch. added 'use_deprecated' patch.
- ImageMagick: add ImageMagick-6.5.4-blackhole.patch (until RQF0497356 and upstream case 01443284 are solved)
- nss : We patch it to add CERN certificates. Modifications to be done are adding '.cern' to Release in spec file., adding certdata.cern.txt as Source100, patching pre section of the spec file. See attached nss-cern.spec: CERN patched NSS spec. and certdata.cern.txt: certdata.cern.txt adding CERN certificates.Also need to disable test(> 6.5 and > 5.10 DISABLETEST=1).
OLD(not needed after 6.5):
- java-1.7.0-openjdk: Change BuildRequires: from java-devel to java7-devel to avoid building against java-1.6.0-openjdk or java-1.7-oracle (the only providers of java-devel)
- mesa-7 : Add fix for non-mesa-glx-extensions.
- mvapich2 : Added Buildrequires byacc. added export AR to fix ar issues.
- rdesktop : add jpolok patches.
External/Extra packages
Acroread
Java oracle 1.7.X
I attached my method to do it from lxsoft machine:
[build@lxdist04] rpm -ivh java-1.7.0-oracle-1.7.0.17-1.slc5.src.rpm
1:java-1.7.0-oracle ########################################### [100%]
[build@lxdist04] cp /tmp/jre-7u21-linux-* ~/rpmbuild/SOURCES/
[build@lxdist04] vim ~/rpmbuild/SPECS/java-1.7.0-oracle.spec
[build@lxdist04] rpmbuild-old-slc5 -bs ~/rpmbuild/SPECS/java-1.7.0-oracle.spec
Wrote: /mnt/data2/home/build/rpmbuild/SRPMS/java-1.7.0-oracle-1.7.0.21-1.slc5.src.rpm
[build@lxdist04] cp /mnt/data2/home/build/rpmbuild/SRPMS/java-1.7.0-oracle-1.7.0.21-1.slc5.src.rpm ~/packages/incoming/slc5/updates/
[build@lxdist04] rpmbuild-slc6 -bs ~/rpmbuild/SPECS/java-1.7.0-oracle.spec
Wrote: /mnt/data2/home/build/rpmbuild/SRPMS/java-1.7.0-oracle-1.7.0.21-1.slc6.src.rpm
[build@lxdist04] cp /mnt/data2/home/build/rpmbuild/SRPMS/java-1.7.0-oracle-1.7.0.21-1.slc6.src.rpm ~/packages/incoming/slc6/updates/
Java sun 1.6.X
Java Sun 1.6 is as dead as a dodo, not need to check for updates.
I attached my method to do it from lxsoft machine:
[build@lxdist04] rpm -ivh java-1.6.0-sun-1.6.0.43-1.slc5.src.rpm
1:java-1.6.0-sun ########################################### [100%]
[build@lxdist04] vim ~/rpmbuild/SPECS/java-1.6.0-sun.spec
[build@lxdist04] cp /tmp/jdk-6u45-linux-* ~/rpmbuild/SOURCES/
[build@lxdist04] rpmbuild-old-slc5 -bs ~/rpmbuild/SPECS/java-1.6.0-sun.spec
Wrote: /mnt/data2/home/build/rpmbuild/SRPMS/java-1.6.0-sun-1.6.0.45-1.slc5.src.rpm
[build@lxdist04] cp /mnt/data2/home/build/rpmbuild/SRPMS/java-1.6.0-sun-1.6.0.45-1.slc5.src.rpm ~/packages/incoming/slc5/cernonly/
[build@lxdist04] rpm -ivh /mnt/data2/dist/onlycern/slc6X/SRPMS/java-1.6.0-sun-1.6.0.43-1.slc6.src.rpm
1:java-1.6.0-sun ########################################### [100%]
[build@lxdist04] vim ~/rpmbuild/SPECS/java-1.6.0-sun.spec
[build@lxdist04] rpmbuild-slc6 -bs ~/rpmbuild/SPECS/java-1.6.0-sun.spec
Wrote: /mnt/data2/home/build/rpmbuild/SRPMS/java-1.6.0-sun-1.6.0.45-1.slc6.src.rpm
[build@lxdist04] cp /mnt/data2/home/build/rpmbuild/SRPMS/java-1.6.0-sun-1.6.0.45-1.slc6.src.rpm ~/packages/incoming/slc6/cernonly/
Adobe Flash player 11.X
- Download flash (tar.gz for 32 and 64 bit) from here : http://get.adobe.com/flashplayer/
- Foreach slc5, slc6
- Install old source package.
- Modify SPEC (the SLC5 and SLC6 specfiles were not identical up to 11.2.202.438-1, they have been merged for 11.2.202.440-1).
- Move new tar.gz's into place
- rpmbuild with correct arguments (WARNING please check ~/bin/rpmbuild-slcX scripts )
- Copy new srpm into incoming (extras)
Splunk (binary RPMS.)
- Check if there is no extras packages : splunk splunkforwarder are declared as cernonly. (If modification needed please see: https://twiki.cern.ch/twiki/bin/viewauth/LinuxSupport/SoftwareUpdatesOnSLC#Add_a_new_package)
- You'll need special privileges which the Linux Team can provide if you don't have them:
- SSH into
build@lxsoft
- Copy the RPMs to
incoming
(note that we don't need i386
packages for CC7):
cp /afs/cern.ch/user/a/airibarr/public/splunk/6.6.2/splunk*x86* /mnt/data2/home/build/packages/incoming/cc7/cernonly
cp /afs/cern.ch/user/a/airibarr/public/splunk/6.6.2/splunk* /mnt/data2/home/build/packages/incoming/slc6/cernonly
cp /afs/cern.ch/user/a/airibarr/public/splunk/6.6.2/splunk* /mnt/data2/home/build/packages/incoming/slc5/cernonly
- You'll be asked for a passphrase which you'll find by running:
tbag show distribution_signing_key_passphrase --hg linuxsupport/lxsoft
Then run (in no particular directory):
/mnt/data2/home/build/bin/bsdownload -a -s
- Then follow the normal release to testing procedure.
- You can check if the RPMs made it to the repositories by SSH'ing into an SLC5, SLC6 (e.g.
root@lxvmslc6t-amd64
) or CC7 machine and respectively run:
yum info splunk --enablerepo=slc5-testing
yum info splunk --enablerepo=slc6-testing
yum info splunk --enablerepo=cernonly-testing
Maybe running something like yum clean all --enablerepo slc6-testing
beforehand is useful.
Advanced operations
Rebuild a package that as the same NVR as upstream
- use bsbuild -b so it does not sync again the rhel package
- be sure to run bsdownload before doing the bsbuild without the "-n" tag again.
Add a package to cernonly, extras
Import binaries / Add already built RPM.
- Build your package for both architecture + debuginfo
- Copy all the RPMS/SRPMS to a directory.
- If the build already exist (say you sent it and you can't build it in koji).
koji call resetBuild devtoolset-2-dyninst-8.0-5dw.el5
- Create the build:
koji call --python createEmptyBuild "'devtoolset-2-dyninst'" "'8.0'" "'5dw.el5'" None
- Import with koji all rpms at once from your directory:
koji import *
- Tag your package, according your needs. koji tag-pkg ...
koji tag-build mytag devtoolset-2-dyninst-8.0-5dw.el5
- Move the src.rpm to incomping/slcX/repo/
- Run bsdownload -s -a
Add external incoming BETA (e.g : tsm openafs etc)
- Choose a directory on afs
$NEWREPO=myrepo
mkdir -p /afs/...../....../$NEWREPO/incoming/slc{5,6}
- Set the access to people that are allowed to upload package to main repositories
- Create ~/packages/configs/slcX/slcX.$NEWREPO.include.list
touch ~/packages/configs/slc5.$NEWREPO.include.list
touch ~/packages/configs/slc6.$NEWREPO.include.list
- Add packages that are allowed to be built, check that they don't conflict with Redhat own packages.
- If packages are going in extras or cernonly edit: /mnt/data2/home/build/bin/utils.sh. NOTE: modify both slc5,slc6 lists if needed.
- Create symlinks in our incoming
cd ~/packages/incoming
ln-s /afs/...../....../$NEWREPO/incoming/slc6 slc6/$NEWREPO
ln-s /afs/...../....../$NEWREPO/incoming/slc5 slc5/$NEWREPO
- Launch
bsbuild -n -d "slc5 slc6" -r $NEWREPO
- Check if repo is taken in account.
Add a new distribution (e.g : slc5 , slc6)
DIST=slc7
mkdir ~/packages/incoming/$DIST/{updates,extras,cernonly}
- Create the configuration files in ~/packages/configs
touch ~/packages/configs/$DIST.skip.list
touch ~/packages/configs/$DIST.exclude.list
touch ~/packages/configs/$DIST.{updates,extras,cernonly}.cfg
LINUXDIR="/mnt/data1/dist/"
SRPMSDIRS="$LINUXDIR/mrepo/rhel6server-x86_64/updates-srpms/"
CERNLINUXDIR="/mnt/data2/dist"
SRPMSSKIPDIRS="$CERNLINUXDIR/cern/${DIST}X/updates/SRPMS/ $CERNLINUXDIR/cern/${DIST}X/updates/i386/testing/SRPMS/ $CERNLINUXDIR/cern/${DIST}X/i386/extras/SRPMS/ /mnt/data2/home/build/packages/results/$DIST/updates/SRPMS"
DEST_TESTING="/mnt/data2/dist/cern/${DIST}X/updates/testing"
- It should be enough to build, but email script must be modified by hand depending on the choice we make.
/mnt/data2/home/build/bin/bsmailusers
- For SLC7 it will be good as well to have separated -testing for each updates, testing, cernonly. It need to add conditional check in the scripts.
Add a new distribution addon (e.g: devtoolset, mrg, etc...)
/mnt/data2/home/build/bin/bsadmincreateaddon -d slcX -r newaddonname -s "srpms directory"
- Edit the config file ~/packages/configs/$DIST.$REPO.cfg
- Create koji tags, you can cp & edit the script in/mnt/data2/home/build/bin/tags/createtag.template
Add a new distribution addon with collections (e.g: scl)
/mnt/data2/home/build/bin/bsadmincreateaddon -d slcX -r newaddonname -s "srpms directory"
- Edit the config file ~/packages/configs/$DIST.$REPO.cfg (Set $USECOLLECTION to "yes")
- Create koji tags, you can cp & edit the script in /mnt/data2/home/build/bin/tags/createtag6-with-collection.template
Build addon updates
ev addon
Testing
/mnt/data2/home/build/bin/bsupdaterhelsrpms -y all
/mnt/data2/home/build/bin/bsbuild -d "slc6" -r "ev"
/mnt/data2/home/build/bin/bsdownload -a -s
/mnt/data2/home/build/bin/bsbuild2test -d "slc6" -r "ev" [pkgname1,pkgname2]
/mnt/data2/home/build/bin/bsregenrepos -d "slc6" -r "ev-testing"
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d "slc6" -r "ev-testing"
/mnt/data2/home/build/bin/bsmailusers -d slc6 -r "testing" -e -s -w
Production
/mnt/data2/home/build/bin/bstest2prod -d "slc6" -r "ev" [pkgname1,pkgname2]
/mnt/data2/home/build/bin/bsregenrepos -d "slc6" -r "ev ev-testing"
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d "slc6" -r "ev ev-testing"
/mnt/data2/home/build/bin/bsmailusers -d slc6 -r "updates" -e -s -w
rhcommon addon
Testing
/mnt/data2/home/build/bin/bsupdaterhelsrpms -y all
/mnt/data2/home/build/bin/bsbuild -d "slc6" -r "rhcommon"
/mnt/data2/home/build/bin/bsdownload -a -s
/mnt/data2/home/build/bin/bsbuild2test -d "slc6" -r "rhcommon" [pkgname1,pkgname2]
/mnt/data2/home/build/bin/bsregenrepos -d "slc6" -r "rhcommon-testing"
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d "slc6" -r "rhcommon-testing"
/mnt/data2/home/build/bin/bsmailusers -d slc6 -r "testing" -e -s -w
Production
/mnt/data2/home/build/bin/bstest2prod -d "slc6" -r "rhcommon" [pkgname1,pkgname2]
/mnt/data2/home/build/bin/bsregenrepos -d "slc6" -r "rhcommon rhcommon-testing"
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d "slc6" -r "rhcommon rhcommon-testing"
/mnt/data2/home/build/bin/bsmailusers -d slc6 -r "updates" -e -s -w
devtoolset addon
Testing
/mnt/data2/home/build/bin/bsupdaterhelsrpms -y all
/mnt/data2/home/build/bin/bsbuild -d "slc5 slc6" -r "devtoolset"
/mnt/data2/home/build/bin/bsdownload -a -s
/mnt/data2/home/build/bin/bsbuild2test -d "slc5 slc6" -r "devtoolset" [pkgname1,pkgname2]
/mnt/data2/home/build/bin/bsregenrepos -d "slc5 slc6" -r "devtoolset-testing"
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d "slc5 slc6" -r "devtoolset-testing"
/mnt/data2/home/build/bin/bsmailusers -d "slc5 slc6" -r "testing" -e -s -w
Production
/mnt/data2/home/build/bin/bstest2prod -d "slc5 slc6" -r "devtoolset" [pkgname1,pkgname2]
/mnt/data2/home/build/bin/bsregenrepos -d "slc5 slc6" -r "devtoolset devtoolset-testing"
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d "slc5 slc6" -r "devtoolset devtoolset-testing"
/mnt/data2/home/build/bin/bsmailusers -d "slc5 slc6" -r "updates" -e -s -w
scl addon
Testing
/mnt/data2/home/build/bin/bsupdaterhelsrpms -y all
/mnt/data2/home/build/bin/bsbuild -d "slc6" -r "scl"
/mnt/data2/home/build/bin/bsdownload -s -d "slc6" -r "scl"
/mnt/data2/home/build/bin/bsbuild2test -d "slc6" -r "scl"
/mnt/data2/home/build/bin/bsregenrepos -d "slc6" -r "scl-testing"
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d "slc6" -r "scl-testing"
/mnt/data2/home/build/bin/bsmailusers -d "slc6" -r "testing" -e -s -w
Production
/mnt/data2/home/build/bin/bstest2prod -d "slc6" -r "scl" [pkgname1,pkgname2]
/mnt/data2/home/build/bin/bsregenrepos -d "slc6" -r "scl scl-testing"
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d "slc6" -r "scl scl-testing"
/mnt/data2/home/build/bin/bsmailusers -d "slc6" -r "updates" -e -s -w
Rebuilding notes
- Disable test/rspec for the following packages:
ruby193-rubygem-diff-lcs
ruby193-rubygem-activesupport
perl516-perl-threads
- Set int the .spec %global bootstrap to 1 for the following packages:
ruby193-rubygem-rspec-expectations
ruby193-rubygem-rspec-mocks
ruby193-rubygem-sinatra
ruby193-rubygem-rack-protection
- Modify perl516-perl-Socket : include perl(Module::Load::Conditional) as a BuildRequires
jbeap addon
Testing
/mnt/data2/home/build/bin/bsupdaterhelsrpms -y all
/mnt/data2/home/build/bin/bsbuild -d "slc6" -r "jbeap"
/mnt/data2/home/build/bin/bsdownload -s -d "slc6" -r "jbeap"
/mnt/data2/home/build/bin/bsbuild2test -d "slc6" -r "jbeap"
/mnt/data2/home/build/bin/bsregenrepos -d "slc6" -r "jbeap"
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d "slc6" -r "jbeap"
/mnt/data2/home/build/bin/bsmailusers -d "slc6" -r "testing" -e -s -w
Special distribution/repository
updates-nonpae
Testing
We continue to build kernel when asked for:
Copy the built packages in
/mnt/data2/home/build/packages/incoming/slc6/updates-nonpae
REMOVE /mnt/data2/dist/cern/slc6X/updates/i386nonpae/testing/{SRPMS,RPMS,debug}
Run :
/mnt/data2/home/build/bin/bsdownload -s -d "slc6" -r "updates-nonpae"
/mnt/data2/home/build/bin/bsbuild2test -s -d "slc6" -r "updates-nonpae"
/mnt/data2/home/build/bin/bsregenrepos -d "slc6" -r "updates-nonpae-testing"
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d "slc6" -r "updates-nonpae-testing"
/mnt/data2/home/build/bin/bsmailusers -d "slc6" -r "testing" -e -s -w
Production
Move the testing packages in:
REMOVE /mnt/data2/dist/cern/slc6X/updates/i386nonpae/{SRPMS,RPMS,debug}
Run:
/mnt/data2/home/build/bin/bstest2prod -s -d "slc6" -r "updates-nonpae" [pkgs]
/mnt/data2/home/build/bin/bsregenrepos -d "slc6" -r "updates-nonpae updates-nonpae-testing"
/mnt/data2/home/build/bin/bssync -t "data1 afs" -d "slc6" -r "updates-nonpae updates-nonpae-testing"
/mnt/data2/home/build/bin/bsmailusers -d "slc6" -r "updates" -e -s -w