aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
Commit message (Collapse)AuthorAgeFilesLines
* Changed error messageClaudio Matsuoka2006-11-141-2/+2
|
* Use pwd instead of ./ for packages without full pathnameClaudio Matsuoka2006-11-141-4/+12
| | | | | | Otherwise when copying the srpm to the chroot it will use ./ from a different cwd.
* Add reminder to notify user in case of srpm recreation errorClaudio Matsuoka2006-11-121-7/+23
|
* Redone some plog and indent changesClaudio Matsuoka2006-11-101-4/+15
|
* Cosmetic fixes: indentantion and 80-column wrapClaudio Matsuoka2006-11-101-8/+14
|
* Cosmetic fixes: indentation and 80-column wrapClaudio Matsuoka2006-11-101-17/+52
|
* added adhoc media handlingFlorent Villard2006-11-091-70/+44
|
* mkpath_p no longer exists, using mkpath instead.Claudio Matsuoka2006-11-091-1/+3
|
* Reindented configuration parameters, fixed plog error.Claudio Matsuoka2006-11-091-53/+153
|
* Using plog for log message.Claudio Matsuoka2006-11-071-2/+17
|
* Cosmetics: minor indentation changesClaudio Matsuoka2006-11-061-8/+20
|
* do not create a log dir for the first srpm; use a more explicit shell in ↵Florent Villard2006-11-061-23/+15
| | | | chroot mode
* Code cleanup: add subroutine to print messages to logClaudio Matsuoka2006-11-031-27/+39
| | | | | | | | | | | | Added plog() to print to log. Parameters are the message or loglevel and message. Typical usage case is plog(1, "reprocess generated packages queue"); which does the same thing as print {$run{LOG}} "$program_name: reprocess generated packages queue\n" if $run{verbose};
* Changing $0 to display readable information in ps outputClaudio Matsuoka2006-11-021-0/+5
| | | | | | | | | | | | | | | | ps(1) output in a build cluster node is very noisy because there are many wrappers and long command lines. Setting Iurt's $0 to a short summary makes it easier to understand what's going on. Additionally, wrapper scripts can be changed to exec the wrapped utility in the same process to further remove noise from the process list. Example of ps output: 9231 ? S 0:00 sshd: mandrake@notty 9232 ? Ss 0:00 Iurt: cooker i586 @73504:perl-IO-All-0.35-3mdv2007.0 9242 ? R 0:05 tar xf /export/home/mandrake//chroot_cooker.i586.tar
* add media in the chroot by defaultFlorent Villard2006-10-241-1/+2
|
* replace old srpm and use the new one; add a missing_dep status; stop if ↵Florent Villard2006-10-231-28/+22
| | | | filesystem is 99% full; do not clean the chroot in debug mode
* move recreate_srpm to Urpmi; scp the resulting packages instead of copy; ↵Florent Villard2006-10-111-85/+17
| | | | clean the chroot after the build
* let the check of the binary and the basesystem packages be configurable0.5.10Florent Villard2006-09-011-6/+16
|
* use $sudo0.5.8Florent Villard2006-08-281-14/+29
|
* - start to use a wrapper for sudo commandsFlorent Villard2006-08-281-69/+64
| | | | | | | | | | - add suboptions to dkms to limit media and kernels - use a special cache file for dkms mode - use the new check_build_chroot functions - use urpmi->install_packages systematically - do not add macros on the initial chroot, it will be done later - move check_chroot functions to Iurt::Chroot
* now running environment is also given to clean_all_unionfsFlorent Villard2006-08-171-177/+18
|
* split some functions in separates modulesFlorent Villard2006-08-081-826/+179
|
* also check for /dev/pts in chroot; add a extra conf for new media; better ↵Florent Villard2006-08-021-90/+151
| | | | unionfs cleaning; fix exclusive arch checking; add new stronger method to install build requires
* fix the --shell mode to correclty update the sudoers fileFlorent Villard2006-06-211-3/+3
|
* switch to perl-RPM4; try to guess missing buildrequires; add find_provides; ↵Florent Villard2006-06-211-29/+79
| | | | add missing_provides to report
* - add a new max_command_retry to limit the number of time iurt will try to ↵Florent Villard2006-06-191-10/+27
| | | | | | | | | | perform a command (in perform_command) - try to fix the maintainer allocation in the 'needed' cache section - try to migrate old cache needed structure from tables to hashes (will need a cleaning mechanism someday) - send less mail - remove the chroot tar after one week
* fix mail formatFlorent Villard2006-06-181-8/+14
|
* - add a new status option to generate summary reportsFlorent Villard2006-06-181-43/+141
| | | | | | | - create a get_maint function to factorise some code - improve missing dependency checking code. Now detect intermediate package which needs to be recompiled (do not recompile them, though, iurt would need to use rpmbuildupdate for that) - kill zombie iurt process when starting
* - save status file more oftenFlorent Villard2006-06-171-131/+163
| | | | | | | | - dump cache when a failure happen - fix check needed random rebuild - use a hash for needed instead of a table - use the general retry mechanism for srpm deps reinstallation
* - begin to add group option to compile several srpm as a setFlorent Villard2006-06-141-210/+429
| | | | | | | | | - fix unionfs dir cleaning - create a function to install srpm - retry to install packages dependencies when urpmi failed, quite often on x86_64 the rpm database get corrupted and rpm does not find correctly which packages are installed - correclty check if a dir is mounted or not - retry several time to umount directory (they can be mounted multiple times)
* fix the unionfs dir cleaning at the end of a run; fix broken deps packages ↵Florent Villard2006-06-131-2/+4
| | | | rebuild attempts from time to time
* add --chrooted-urpmi option to use urpmi inside the chroot and not urpmi --rootFlorent Villard2006-06-051-21/+71
|
* do not send a mail when retrying to build the package without unionfsFlorent Villard2006-05-291-13/+18
|
* fix --stop (no exec anymore, which I do not manage to make work, use a system)Florent Villard2006-05-251-20/+32
|
* create a subdir per user for chroot, add --clean optionFlorent Villard2006-05-161-150/+239
|
* do not lock when rebuilding chrootFlorent Villard2006-05-151-5/+4
|
* add --shell option with sudoFlorent Villard2006-05-121-57/+145
|
* flock and lockf does not work correctly, try to workarroundFlorent Villard2006-05-091-30/+81
|
* Also mail the official maintainer for missing buildrequiresFlorent Villard2006-05-031-2/+2
|
* Try to kill more agressively processes launched if the forked command is stoppedFlorent Villard2006-05-011-1/+3
|
* Check filesystem free space too and stop if fullFlorent Villard2006-04-261-0/+13
|
* sometimes killing the father is not enough to control log size, use kill groupFlorent Villard2006-04-261-3/+7
|
* add a global status file to log; dump the temporary cache even if the main ↵Florent Villard2006-04-201-31/+63
| | | | lock fails
* try to rebuild the chroot if the macro dump failedFlorent Villard2006-04-131-1/+5
|
* split cache by media tooFlorent Villard2006-03-311-6/+12
|
* try to load an older cache when the latest is corruptedFlorent Villard2006-03-311-10/+40
|
* now use a subdir for each srpm logging infoFlorent Villard2006-03-091-7/+15
|
* check more agressively log size; do not mail maintainer when fallbacking in ↵Florent Villard2006-03-081-10/+13
| | | | no_unionfs mode; fix log cleaning command
* do not stop if the upload mode is not set and if the upload dir does not existFlorent Villard2006-03-051-1/+1
|
* do not try to load unionfs module if already loaded; perform a depmod before ↵Florent Villard2006-03-051-2/+16
| | | | loading unionfs; fix dump_macros creation bug