| 1 | Download rpms from redhat using download script |
| 2 | {{{ |
| 3 | from vw: |
| 4 | sudo su - distrib |
| 5 | ./tools/do-only-download-rhel |
| 6 | }}} |
| 7 | This will download the rpms and show a list of rpms that are to be built. |
| 8 | Build the rpms using the build script (easiest) |
| 9 | {{{ |
| 10 | from vw: |
| 11 | sudo su - build |
| 12 | build /path/to/downloaded/rpm /path/to/next/rpm /more/rpms |
| 13 | }}} |
| 14 | |
| 15 | This will place the RPMS in /data/done-local[56]/staging-signing |
| 16 | |
| 17 | You next need to sign the rpms |
| 18 | |
| 19 | {{{ |
| 20 | sudo su - signing |
| 21 | rpm --addsign /data/done-local[56]/staging-signing/somethingsomething.rpm |
| 22 | }}} |
| 23 | |
| 24 | RPMs need to be signed on the appropriate system. Springdale 5 should use cc, Springdale 6 should use jetta. |
| 25 | |
| 26 | After signing the rpms, you need to merge them. |
| 27 | {{{ |
| 28 | sudo su - distrib |
| 29 | cp /data/done-local6/staging-signing/somethingsomething.rpm /data/done-local6/staging |
| 30 | do-merge-staging-updates-PUIAS-6.sh |
| 31 | }}} |
| 32 | |
| 33 | if all looks good |
| 34 | {{{ |
| 35 | do-merge-staging-updates-PUIAS-6.sh -a -r |
| 36 | }}} |
| 37 | |
| 38 | This should rebuild the yum repos, if all goes well, you need to sync the changes to the repo server (lowrie) |
| 39 | |
| 40 | So, from vw: |
| 41 | {{{ |
| 42 | ./PULinux/lowrie-sync |
| 43 | }}} |
| 44 | |
| 45 | That will push the changes to puias.princeton.edu |