aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Chroot.pm
Commit message (Collapse)AuthorAgeFilesLines
* add missing parentheses in open callsOlivier Blin2011-01-131-1/+1
|
* fail early if chroot creation fails (if some suggests have unsatisfiedOlivier Blin2011-01-131-6/+3
| | | | | | | | deps, chroot creation will appear as failed in status log and make ulri fail, but the chroot was still usable to build package, and the whole build was marked as failed only after finishing the package rebuild) this also removes duplicate check for /bin/rpm
* close the rpmmacros file when doneOlivier Blin2011-01-101-0/+1
|
* fix indentationOlivier Blin2010-11-251-30/+30
|
* factorize chroot rebuild codeOlivier Blin2010-11-251-19/+10
|
* fix caseOlivier Blin2010-11-251-1/+1
|
* linking back the chroot tarball is only needed when not rebuilding the chrootOlivier Blin2010-11-251-1/+1
|
* simplifyOlivier Blin2010-11-251-4/+2
|
* create tmp_chroot in one place onlyOlivier Blin2010-11-251-2/+2
|
* add a message when the chroot is already up-to-dateOlivier Blin2010-11-251-1/+3
|
* use urpmq --list to find available basesystem package versions,Olivier Blin2010-11-251-10/+9
| | | | | instead of checking a path, since it likely requies to have an additional NFS available
* do not add rpm extension when building packages listOlivier Blin2010-11-251-1/+1
|
* Fix typoDexter Morgan2010-11-041-1/+1
|
* move uid check in iurt_root_command (and fix checking return code)Olivier Blin2010-11-021-1/+1
|
* use iurt_root_command to mount in chrootOlivier Blin2010-11-021-5/+5
|
* create rpm dirs in /etc/skel (actually needed to copy the src.rpm before ↵Olivier Blin2010-11-021-8/+3
| | | | rpmbuild runs)
* don't copy /home/builder for new users, just create the user with ↵Olivier Blin2010-11-021-12/+2
| | | | iurt_root_command and dump again the rpmmacros file
* use iurt_root_command to umount in clean_chrootOlivier Blin2010-11-021-4/+4
|
* use iurt_root_command --cp to write rpmmacros fileOlivier Blin2010-11-021-3/+13
|
* use iurt_root_command to add userOlivier Blin2010-11-011-1/+2
|
* use iurt_root_command to untarOlivier Blin2010-11-011-2/+2
|
* use rpm --root instead of chroot rpmOlivier Blin2010-11-011-1/+4
|
* use iurt_root_command to umountOlivier Blin2010-11-011-4/+4
|
* untar /var/log/qa with iurt_root_commandOlivier Blin2010-11-011-1/+1
|
* no need to pre-create rpm dirs, rpm is doing it by itself nowadaysOlivier Blin2010-11-011-6/+0
|
* use iurt_root_command --tarOlivier Blin2010-11-011-1/+1
|
* remove old code creating /etc/mtab and /dev/null, everything is created fine ↵Olivier Blin2010-11-011-8/+0
| | | | by basesystem now
* perl_checker cleanupsThierry Vignaud2009-12-021-13/+12
|
* do not test presence of /usr/lib/rpm/rpmb since rpm 4.6.0 do not have it anymorePascal Rigaux2008-12-101-1/+1
|
* remove hack for urpmi 6.0 (now unneded since 6.1 is out and nodes have been ↵Pascal Rigaux2008-07-101-1/+0
| | | | updated)
* temporary hack to workaround bug in urpmi 6.0: create tmp_chroot/var/lib/urpmiPascal Rigaux2008-07-101-0/+1
|
* (create_temp_chroot) tag srpm parameter as optional sinceThierry Vignaud2008-02-151-2/+2
| | | | | Urpmi::get_build_requires() doesn't provide it
* revert _excludedocs, it breaks some doc build (#37067)Olivier Blin2008-01-221-1/+0
|
* fix indentationOlivier Blin2008-01-121-1/+1
|
* (build_chroot) sort output of rpm -qaThierry Vignaud2008-01-121-1/+1
|
* (dump_rpmmacros) set %_excludedocs so that we speed up iurt on creating chrootsThierry Vignaud2008-01-121-0/+1
| | | | | by an order of magnitude by not installing _huge_ & useless docs
* replace "rpm --initdb" with "mkdir -p /var/lib/rpm" since --initdb in rpmPascal Rigaux2008-01-091-3/+2
| | | | | | 4.4.6+ was mostly creating the /var/lib/rpm, but is otherwise useless in all rpm versions
* use --urpmi_root instead of --use-distrib when the repository is http|ftpPascal Rigaux2007-11-221-0/+6
|
* prepare for --urpmi-root:Pascal Rigaux2007-11-221-0/+6
| | | | | | - remove files used by --urpmi-root (created by urpmi.addmedia --urpmi--root)
* - Revert the nsswitch.conf change, as ypbind is not used anymore and should beMarcelo Leitner2007-11-201-3/+0
| | | | | down on all nodes, also fixing this problem.
* - Use the same /etc/nsswitch.conf, because as pixel reported, without that makeMarcelo Leitner2007-11-191-0/+3
| | | | | test on perl fails due to glibc print outs screaming about YPBINDPROC_DOMAIN.
* - Put some more debugging into command execution process.Marcelo Leitner2007-11-121-0/+3
| | | | | | - Lowered free disk space tolerance from 100% to 99%, as 100% could be too late.
* - Fix typo in function exports. (was create_buid_chroot)Marcelo Leitner2007-11-121-1/+1
|
* - Force mounting iurt_medias as read-onlyMarcelo Leitner2007-11-061-1/+1
|
* - Replace a chdir call with tar -C option and avoid further errors due to theMarcelo Leitner2007-11-061-5/+14
| | | | | | path change. - Better syntax putting in evidence a duplicated code.
* - Applies Blino's fix for removing chroot tarball if its build failed.Marcelo Leitner2007-09-041-24/+28
| | | | | | | - Enhance checking if the build failed by also checking if /usr/lib/rpm/rpmb is in place. - Scream and shout something when aborting due to this reason.
* don't create ld.so.conf in the chroot, as it prevents glibc from installing ↵Gustavo De Nardin2007-08-011-1/+1
| | | | the real one, as found out by Anssi Hannula
* - added some comments.Marcelo Leitner2007-07-041-1/+8
|
* - Finish the rename.Marcelo Leitner2007-06-271-1/+1
|
* - Enhance debug on chroot creation and prepare for chroot updates.Marcelo Leitner2007-06-271-5/+42
|