summaryrefslogtreecommitdiffstats
path: root/src/py-libs/util.py
Commit message (Collapse)AuthorAgeFilesLines
* move things around so that we can run mock.py from the build tree instead of ↵Michael E Brown2007-11-301-286/+0
| | | | having to install it.
* reformat command failed output slightly.Michael E Brown2007-11-291-2/+2
|
* add ppc32/64 setarch compatibilityMichael E Brown2007-11-181-1/+2
|
* comment for personlity stuff.Michael E Brown2007-11-171-0/+1
|
* dont try to run personality() if we dont have a defined value.Michael E Brown2007-11-171-3/+3
|
* hand-code setarch to remove dep on /usr/bin/setarchMichael E Brown2007-11-171-1/+16
|
* fix typo in error path.Michael E Brown2007-10-271-1/+1
|
* small rearrangements to the function from hell. make it slightly less long.Michael E Brown2007-10-271-47/+39
|
* ensure we only use gid specified. chroot operations always change uid/gid to ↵Michael E Brown2007-10-221-0/+4
| | | | gid specified. fixes 'bad owner/group' message from rpm.
* more complete fix for immutable files in buildrootMichael E Brown2007-10-221-5/+6
|
* avoid infinite loop in error handling.Michael E Brown2007-10-221-1/+1
|
* try harder to remove buildroot if it fails.Michael E Brown2007-10-221-7/+19
|
* update copyrights. dont put full header in every source file, just ref main ↵Michael E Brown2007-10-211-17/+4
| | | | copying.
* attempt to kill off any process group children before we finish fork(). Trap ↵Michael E Brown2007-10-201-32/+38
| | | | all errors so child doesnt escape from its branch of the if.
* allow installdeps cmd to be used on normal rpm.Michael E Brown2007-10-201-2/+2
|
* better message for failed command when output disabled.Michael E Brown2007-10-191-1/+4
|
* add orphansKill() function. Kills off everything with a specific root dir.Michael E Brown2007-10-191-0/+13
|
* completely drop privs (real and effective) when running RPM commands. add a ↵Michael E Brown2007-10-181-11/+22
| | | | bit of infrastructure to mock.util.do() to handle this. Change mock.util.do to not return output by default. No users use the output, and it can be switched on via karg.
* get rid of spurious blank lines in log outputMichael E Brown2007-10-181-1/+5
|
* more srpm manip functions.Michael E Brown2007-10-181-5/+66
|
* fix for idiotic error in rpmUtils where exception comes back with each ↵Michael E Brown2007-10-171-4/+4
| | | | letter as an element in a tuple.
* add special callout for interactive commands so we can interact properly.Michael E Brown2007-10-171-8/+14
|
* Add cap to make multiple dirs at a time. add rmtree helper to eat some ↵Michael E Brown2007-10-171-13/+56
| | | | exceptions. Add getSrpmHeader() function.
* add tracing, touch(), do() functionsMichael E Brown2007-10-171-3/+72
|
* more code.Michael E Brown2007-10-161-0/+6
|
* start adding utility functions.Michael E Brown2007-10-161-1/+23
|
* move py modules to different subdir to avoid conflict with mock binary name.Michael E Brown2007-10-161-0/+29