16 Sep 2004 18:59
New version 1.2 of tmtools
David L. Parsley <parsley <at> linuxjedi.org>
2004-09-16 16:59:20 GMT
2004-09-16 16:59:20 GMT
These are the scripts I use for building and managing rpms & src.rpms for Tao Linux. They still kinda suck, just not as bad now.(Continue reading)(and of course, mainly, they Work For Me(tm)) The tarball is still hard-coded for installation in /usr/local, but was made a little more flexible in repo organization. In brief: tmnewrepo <dir> yum|build|dist create a tmtools compatible repository directory structure tmbuild (-n e-mail addy) run w/in a build repo, starts a build of all src.rpms in queue directory. Customized (hard-coded) for i386; builds i386/i586/i686/athlon as appropriate for kernel, glibc, etc. -n to send notify when done. tmrpm / tmrpmbuild wrappers to run rpm & rpmbuild using current repo as topdir tmgensrpmmap run w/in any repo, creates the srpmmap/*smap files that indicate which rpms where built by which src.rpms. pre-requisite to using the tools listed below. tmmove x.smap ... /dest/repo move entire sets of rpms & src.rpms between repo directories tmcopy x.smap ... /dest/repo tmdelete x.smap ... tmverifyrpms /path/to/ref/rpms Used to compare rpms built to a set of reference rpms; see the script for what is actually checked/compared. Appends results to lines in smap file.
(and of course, mainly,
they Work For Me(tm)) The tarball is still hard-coded for installation
in /usr/local, but was made a little more flexible in repo organization.
In brief:
tmnewrepo <dir> yum|build|dist
create a tmtools compatible repository directory structure
tmbuild (-n e-mail addy)
run w/in a build repo, starts a build of all src.rpms in
queue directory. Customized (hard-coded) for i386; builds
i386/i586/i686/athlon as appropriate for kernel, glibc,
etc. -n to send notify when done.
tmrpm / tmrpmbuild
wrappers to run rpm & rpmbuild using current repo as topdir
tmgensrpmmap
run w/in any repo, creates the srpmmap/*smap files that
indicate which rpms where built by which src.rpms.
pre-requisite to using the tools listed below.
tmmove x.smap ... /dest/repo
move entire sets of rpms & src.rpms between repo
directories
tmcopy x.smap ... /dest/repo
tmdelete x.smap ...
tmverifyrpms /path/to/ref/rpms
Used to compare rpms built to a set of reference rpms; see
the script for what is actually checked/compared. Appends
results to lines in smap file.
RSS Feed