Commit graph

163 commits

Author SHA1 Message Date
Mike McLean
a2f7c9c252 fix a spelling error (rhbz 529208) 2009-12-07 12:32:37 -05:00
Mike McLean
43af4add20 soft dependencies for livecd code 2009-12-03 16:20:50 -05:00
Mike Bonnet
a66e628f10 - include directory entries in the manifest
- don't call iso9660.name_translate(), it seems unnecessary
2009-09-30 15:40:21 -04:00
Mike Bonnet
82e38da8e9 enable specifying the syntax version of the kickstart file 2009-09-29 18:29:12 -04:00
Mike Bonnet
dd0f48e752 don't depend on a specific version of a pykickstart RepoData class 2009-09-29 18:05:34 -04:00
Mike Bonnet
cfa34bc744 rename the spin-livecd option --scmurl to --ksurl (in case we allow specifying a --compsurl later) 2009-09-29 18:02:45 -04:00
Mike Bonnet
bdac9d5f85 - store the arch of the image in the imageinfo table
- put the non-.iso files in a data/logs/ subdirectory for consistency with builds
2009-09-29 17:11:53 -04:00
Mike Bonnet
b5172f49ae importImage() should be in HostExports 2009-09-29 16:09:08 -04:00
Mike Bonnet
3adc9c9c40 minor changes, mostly cosmetic 2009-09-29 15:37:23 -04:00
Mike Bonnet
bb711506a6 avoid filename collisions with the user-supplied kickstart file 2009-09-29 14:31:32 -04:00
Mike Bonnet
f39637bf2a only pass non-null options to createLiveCD 2009-09-29 11:12:51 -04:00
Mike Bonnet
78e9e65ddf remove the topurl option to spin-livecd 2009-09-28 14:32:19 -04:00
Jay Greguske
d93d05ab5f enable creation of LiveCD/DVD images in Koji
Signed-off-by: Mike Bonnet <mikeb@redhat.com>
2009-09-28 14:07:01 -04:00
Mike McLean
512e663eb4 use custom krb5 cache in kojid and kojira. ticket#104 (patch by tjarls) 2009-09-23 15:47:05 -04:00
Mike McLean
4c44f7fec2 avoid duplicate waits on mock 2009-09-23 15:47:05 -04:00
Mike Bonnet
279418adf1 remove ugly hacks from mergerepos now that fixes to yum have been checked in upstream 2009-09-18 16:32:12 -04:00
Mike McLean
3a1234efe0 index external rpm origins by nvra, not just nvr 2009-04-21 14:31:55 -04:00
Dennis Gilmore
24d8b8ee63 fix up sparc arch handling 2009-02-19 12:30:36 -06:00
Mike Bonnet
c772db58ad explicitly request sha1 for backward compatibility with older yum 2009-02-18 23:25:57 -05:00
Mike Bonnet
1b8a6b4aa5 remove redundant line (pointed out by James Antill) 2009-02-18 10:27:33 -05:00
Jeffrey C. Ollie
b82c811f95 use the YumBase.preconf attribute if it's available
Signed-off-by: Mike Bonnet <mikeb@redhat.com>
2009-02-17 13:36:21 -05:00
Mike Bonnet
094d97f698 make sure we reap canceled/reassigned tasks too 2009-02-17 13:21:41 -05:00
Mike Bonnet
0552072802 make the load average test a function of the number of processors 2009-02-16 18:56:29 -05:00
Dennis Gilmore
4e2a652dff try again just call md5_constructor 2009-02-16 13:41:36 -06:00
Dennis Gilmore
6b4005f83a use md5_constructor.new() not md5.new() 2009-02-16 13:29:35 -06:00
Mike Bonnet
d5241dbac5 check the load average before taking a task 2009-02-16 12:45:33 -05:00
Dennis Gilmore
373fbad545 setup for python-2.6 avoid depreciation warnings 2009-02-16 11:23:12 -06:00
Mike Bonnet
821414b8ba add missing logger attribute 2009-02-13 18:26:22 -05:00
Mike Bonnet
ef659b76bc use python 2.4 compatible class syntax 2009-02-13 17:59:18 -05:00
Mike Bonnet
3f4703322d work around missing summary and description for RHEL-5 compatibility 2009-02-13 17:59:18 -05:00
Mike Bonnet
4d71cce5be make the log name match the script name 2009-02-12 19:03:04 -05:00
Mike Bonnet
3a3fc7f49f expand the arches passed to mergerepos to include compatible arches that may appear in external repos 2009-02-12 19:01:31 -05:00
Mike Bonnet
149dbd435d reseed the prng so we don't always get the same arch 2009-02-12 17:49:28 -05:00
Mike Bonnet
648b48428c use event_id in buildSRPMFromSCM task 2009-02-12 03:02:39 -05:00
Mike Bonnet
2e29e2d30c make use of createrepo --update optional 2009-02-12 00:22:34 -05:00
Mike Bonnet
fc7f8a8b6e show load and capacity to two decimal places in kojid log output 2009-02-11 02:23:18 -05:00
Mike Bonnet
4807679dee give SIGINT a little longer to work 2009-02-11 01:59:26 -05:00
Mike Bonnet
8ac1f67329 make the child killing process slightly less verbose 2009-02-11 01:58:10 -05:00
Mike Bonnet
876147dff2 randomly pick the arch of a noarch buildroot 2009-02-11 01:33:41 -05:00
Mike Bonnet
f100121dda update the buildArch task weight based on the average duration of a build of the package 2009-02-10 21:18:44 -05:00
Mike Bonnet
c48620edc8 - fix task cleanup to actually check if child processes are running (you can't use waitpid() on processes that aren't your direct children)
- send SIGINT first to give mock a chance to cleanup
2009-02-10 20:37:10 -05:00
Mike Bonnet
691a472d1c try to kill child processes with SIGINT first, so mock has a chance to clean up 2009-02-10 14:10:52 -05:00
Mike Bonnet
221d598d7b remove unused code 2009-02-10 11:16:00 -05:00
Mike Bonnet
aaaa051e26 ensure the origin of an internal rpm starts with file:// 2009-02-10 11:15:02 -05:00
Mike McLean
4303d856bc handle internal rpms in pkgorigins 2009-02-09 17:53:16 -05:00
Mike Bonnet
cc5828fc58 use os.statvfs() instead of an exec 2009-02-09 16:58:10 -05:00
Mike Bonnet
e71e348b1f avoid UnicodeDecodeErrors when writing out the metadata by ensuring that pkg attributes that end up in the xml are utf-8-encoded strs (not unicode objects) 2009-02-09 13:21:38 -05:00
Mike Bonnet
6877749c32 remove redundant getPackageConfig() call 2009-02-08 13:59:19 -05:00
Mike Bonnet
9e0ab60c24 if we're not building from a specific repo_id, use the most recent event_id instead of the repo creation event_id, because config changes could have been made to the dest tag that don't affect the repo 2009-02-06 18:46:49 -05:00
Mike Bonnet
f8e875afc0 run rpmdiff against noarch subpackages 2009-02-06 18:08:13 -05:00