Changes

Jump to: navigation, search

ReleaseEngineering/PuppetAgain/HowTo/Build RPMs

670 bytes added, 17:22, 28 August 2012
Landing
= Landing =
When the patch is r+'d, commit it as usual, and also add *both* the RPM (or multiple RPMs if multiple architectures are required!) and the SRPM into /data on the designated puppet master(releng-puppet1.srv.releng.scl3), so that it will be distributed to other systems. Debuginfo RPMs are a good idea, too. Run
createrepo --update $repo_path
to update the metadata.
Note that, pending {{bug|772599}}, Example session:<pre># at releng-puppet1.srv.releng.scl3$ wget http://people.mozilla.org/~jhopkins/bug772446/supervisor-3.0-0.10.a12.el6.noarch.rpm$ wget http://people.mozilla.org/~jhopkins/bug772446/supervisor-3.0-0.10.a12.el6.src.rpm$ chmod 644 *.rpm$ sudo chown puppetagainsync:puppetagainsync *.rpm$ sudo mv -vi *.rpm /data/repos/yum will cache the metadata for /releng/public/CentOS/6 hours, meaning you won/noarch/`supervisor-3.0-0.10.a12.el6.noarch.rpm't see your packages installed for that duration-> `/data/repos/yum/releng/public/CentOS/6/noarch/supervisor-3.0-0.10. See mention of a12.el6.noarch.rpm'`supervisor-3.0-0.10.a12.el6.src.rpm'-> `/data/repos/yum/releng/public/CentOS/6/noarch/supervisor-3.0-0.10.a12.el6.src.rpm'$repoflag''' in [[ReleaseEngineeringsudo -u puppetagainsync createrepo --update /data/repos/yum/releng/public/PuppetAgainCentOS/Modules6/packages]] for the workaroundnoarch2/2 - supervisor-3.0-0.10.a12.el6.src.rpm Saving Primary metadataSaving file lists metadataSaving other metadata</pre>
Confirm
3,104
edits

Navigation menu