aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Chroot.pm
Commit message (Collapse)AuthorAgeFilesLines
* Use unique tmpfile for dumping macros, if several iurt create/remove ↵Pascal Terjan2013-01-191-1/+1
| | | | /tmp/rpmmacros things will fail sometimes
* - fix check_chroot_need_update which was always telling to rebuild the chroot,Arnaud Patard2012-12-141-0/+1
| | | | | | due to urpmi not being able to write to $urpmi_root/tmp some temp files (thus returning an empty package list).
* Get rid of cachePascal Terjan2012-12-101-1/+0
|
* use rpmbuild/ rather than rpm/ like modern guidelinesThierry Vignaud2012-09-251-3/+3
| | | | (need invalidating chroots)
* Mount /dev/shm as tmpfsPascal Terjan2012-09-191-1/+1
|
* mount /dev/shm as --bind like other mount points (mga#7329)Thierry Vignaud2012-09-121-1/+1
| | | | else it can result in sudo asking password
* fix check_chroot_need_update "regression", which was always telling to rebuildArnaud Patard2012-09-071-1/+4
| | | | | | the chroot. @available_pkgs was always empty, because of trying to write the new media.cfg in /var/cache/urpmi/partial/ as user.
* For non-local media, iurt is suppressing the urpmi.cfg file while creatingArnaud Patard2012-09-051-2/+14
| | | | | | | | the chroot. This has the side effect of forcing people to use things like --chrooted-urpmi even if the iurt configuration is fine (since it managed to create the chroot). So, add media while creating the build chroot for non-local media, as long as --chrooted-urpmi has not been used.
* (clean_and_build_chroot) failing to mount /dev/pts is not a fatal errorThierry Vignaud2012-09-031-4/+1
|
* (clean_and_build_chroot) fix path on messageThierry Vignaud2012-09-021-1/+1
|
* fix import loopThierry Vignaud2012-09-011-1/+1
|
* help perl_checkerThierry Vignaud2012-08-271-1/+2
|
* kill BUG noteThierry Vignaud2012-08-271-1/+0
|
* (remove_chroot) pass missing 'config' parameter to clean_all_chroot_tmp()Thierry Vignaud2012-08-271-3/+3
| | | | | bug introduced in commit r5307 by pterjan on 2012-08-08 (was: "Initial btrfs support")
* (clean_all_chroot_tmp) add a BUG/FIXME noteThierry Vignaud2012-08-271-0/+1
| | | | | $config parameter was added in commit r5307 by pterjan on 2012-08-08 but is never passed!
* (remove_chroot) kill useless parameter than previously makes '$prefix'Thierry Vignaud2012-08-271-1/+1
| | | | | | | parameter not used (bug!!!) bug introduced in commit r5307 by pterjan on 2012-08-08 (was: "Initial btrfs support")
* (clean_chroot) update signatures in doc regarding parametersThierry Vignaud2012-08-271-2/+2
|
* (clean_chroot) we can now kill one more useless argumentThierry Vignaud2012-08-271-2/+2
|
* (clean_and_build_chroot) split it out of clean_chroot()Thierry Vignaud2012-08-271-5/+20
| | | | | | => one less argument to clean_chroot() (death to warlism where one add parameters to functions to make them change behaviour depending on them...)
* sort exported funcsThierry Vignaud2012-08-271-3/+3
|
* (clean_chroot) log not cleaning chroots due mount points still being thereThierry Vignaud2012-08-271-0/+1
|
* mount /dev/shm in chroots too (needed for eg: python)Thierry Vignaud2012-08-271-1/+8
|
* Check return codes when creating btrfs subvolumes or snapshotsPascal Terjan2012-08-081-5/+6
|
* Add a commentPascal Terjan2012-08-081-0/+2
|
* Initial btrfs supportPascal Terjan2012-08-081-40/+56
|
* Do not rm -rf + untar newly created chrootPascal Terjan2012-08-071-0/+1
|
* Merge create_chroot into create_build_chrootPascal Terjan2012-08-071-14/+8
|
* - Fix broken test in clean_chroot, leading to chroot not being cleaned.Arnaud Patard2012-07-031-1/+1
|
* (_setup_additional_media) split it out of clean_chroot()Thierry Vignaud2012-04-171-12/+19
|
* (_clean_mounts) factorize cleaningThierry Vignaud2012-04-171-12/+13
|
* (clean_chroot) simplify using urpm::file_from_local_url()Thierry Vignaud2012-04-171-2/+1
|
* (clean_chroot,new,urpmi_command) simplify using urpm::is_local_url()Thierry Vignaud2012-04-171-1/+2
|
* (clean_chroot,new,urpmi_command) https is a supported protocol tooThierry Vignaud2012-04-171-1/+1
|
* (clean_chroot) rsync is a remote protocol w/o any local mount point tooThierry Vignaud2012-04-171-1/+1
|
* (clean_chroot,new,urpmi_command) sortThierry Vignaud2012-04-171-1/+1
|
* (clean_chroot,urpmi_command) factorize/simplify a testThierry Vignaud2012-04-171-1/+1
| | | | ("needed" for next commit)
* (check_chroot_need_update) drop unused 'config' parameterThierry Vignaud2012-04-041-2/+2
| | | | (spot by perl_checker)
* Drop check_build_chroot, its only goal is to force rebuilding tarball even ↵Pascal Terjan2012-04-031-15/+0
| | | | | | if no package has changed over 7 days Also, do not recreate chroot from Urpmi.pm
* If we fail to add local user, checking if we can rebuild chroot tarball ↵Pascal Terjan2012-04-031-3/+2
| | | | makes no sense
* Drop check_chrootPascal Terjan2012-04-031-9/+1
|
* Take tar out of build_chrootPascal Terjan2012-04-031-4/+5
|
* Add a commentPascal Terjan2012-04-031-0/+1
|
* Slighty simplify and do not call clean_urpmi_processPascal Terjan2012-04-031-10/+8
| | | | If this is needed this should be done before all rm -r $chroot of this function, not just the last one
* Do not untar chroot before checking if tarball is up to datePascal Terjan2012-04-031-3/+0
|
* Removed unused option from clean_chrootPascal Terjan2012-04-031-10/+2
|
* Split code checking if tarball is up to datePascal Terjan2012-04-031-27/+26
|
* do not import unused clean() functionThierry Vignaud2012-03-241-1/+1
|
* (create_temp_chroot) kill unused argThierry Vignaud2012-03-241-1/+1
|
* (update_chroot) kill unused functionThierry Vignaud2012-03-241-23/+0
|
* (create_temp_chroot) kill unused argThierry Vignaud2012-03-241-1/+1
|