Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | iurt: Use the target dir when rebuilding chroot | Pascal Terjan | 2023-12-03 | 1 | -25/+16 |
| | | | | | Currently we when building a tmpdir, making a tar of it, deleting it and then untar into the target. | ||||
* | iurt: Make generation of the chroot archive more atomic | Pascal Terjan | 2023-11-29 | 1 | -0/+8 |
| | | | | | We may still use the wrong chroot but at least the .tar shoudl not be corrupted. | ||||
* | iurt: Fix / of the chroot belonging to the user instead of root | Pascal Terjan | 2023-11-26 | 1 | -10/+9 |
| | |||||
* | fix calling clean_chroot() | Thierry Vignaud | 2022-06-11 | 1 | -1/+1 |
| | | | | | | | The call wasn't matching the function signature thus breaking cleaning chroots. Bug introducted in commit 69e74732d254c75adc20afc25a8729ca568be832 I wonder why nobody saw it before ?? | ||||
* | Do not add media twice | Pascal Terjan | 2020-11-29 | 1 | -8/+0 |
| | |||||
* | Always use urpmi --urpmi-root | Pascal Terjan | 2020-11-29 | 1 | -13/+8 |
| | |||||
* | Move the updating of packages later | Pascal Terjan | 2020-06-15 | 1 | -5/+0 |
| | | | | | The creation of chroot is a mess with various retries, so do it as late as possible when there is no way something gets changed again. | ||||
* | Revert "Move updating the chroot to the right place" | Pascal Terjan | 2020-06-15 | 1 | -5/+5 |
| | | | | | | This reverts commit fe9d5b05cada63b4aa30b71401456263a3b511f1. It actually made things worse, this code is really a maze. | ||||
* | Move updating the chroot to the right place | Pascal Terjan | 2020-06-15 | 1 | -5/+5 |
| | |||||
* | Update packages after creating chroot | Pascal Terjan | 2020-06-14 | 1 | -0/+5 |
| | | | | | This is useful when building for updates_testing or with additional media as basesystem/urpmi/... were installed without those media. | ||||
* | Unmount things when additional media fail | Pascal Terjan | 2020-06-14 | 1 | -1/+5 |
| | |||||
* | Kill processes before unmounting in clean_chroot | Pascal Terjan | 2018-10-16 | 1 | -5/+3 |
| | |||||
* | fix checking if chroot needs updating | Thierry Vignaud | 2017-10-15 | 1 | -1/+0 |
| | | | | | | | | | commit a1e34113fcb9538ad8a29eec80075dff04253068 wrongly made check_chroot_need_update() to always return 0, thus skipping all tests... This makde build system using old chroots, thus breaking some package builds | ||||
* | Do not create network namespace when crating chroot failed (broken by ↵ | Pascal Terjan | 2017-10-13 | 1 | -1/+1 |
| | | | | previous commit) | ||||
* | Change use_netns to allow per package setting | Pascal Terjan | 2017-10-13 | 1 | -7/+7 |
| | |||||
* | Add an option to disable netns | Pascal Terjan | 2017-10-04 | 1 | -1/+1 |
| | |||||
* | Fix creating new reference chroot | Pascal Terjan | 2017-10-04 | 1 | -1/+3 |
| | |||||
* | (install_packages) kill unused arg | Thierry Vignaud | 2017-10-04 | 1 | -1/+0 |
| | |||||
* | Use a network namespace for builds | Pascal Terjan | 2017-10-03 | 1 | -0/+6 |
| | |||||
* | Allow not checking chroot freshness | Pascal Terjan | 2017-10-02 | 1 | -1/+3 |
| | | | | | This is useful to improve performance for for autobuild where we build all packages on a snapshot of the distribution. | ||||
* | Create /etc/rpm to be able to dump macros before installing basesystem | Pascal Terjan | 2017-08-31 | 1 | -1/+1 |
| | |||||
* | kill useless argument | Thierry Vignaud | 2016-10-14 | 1 | -1/+1 |
| | |||||
* | Write macros to /etc/rpm/macros | Pascal Terjan | 2016-10-14 | 1 | -4/+1 |
| | | | | None is user specific and install_lang will only work there. | ||||
* | Force installing all translations | Pascal Terjan | 2015-11-16 | 1 | -0/+1 |
| | |||||
* | mkpath is not used in this module | Thierry Vignaud | 2014-04-30 | 1 | -1/+0 |
| | |||||
* | simplify using cat*() | Thierry Vignaud | 2014-04-19 | 1 | -3/+1 |
| | |||||
* | Replace a call to sudo chroot with iurt_root_command | Pascal Terjan | 2014-01-19 | 1 | -3/+1 |
| | |||||
* | Replace a call to sudo mkdir with iurt_root_command | Pascal Terjan | 2014-01-19 | 1 | -1/+1 |
| | |||||
* | Use unique tmpfile for dumping macros, if several iurt create/remove ↵ | Pascal Terjan | 2013-01-19 | 1 | -1/+1 |
| | | | | /tmp/rpmmacros things will fail sometimes | ||||
* | - fix check_chroot_need_update which was always telling to rebuild the chroot, | Arnaud Patard | 2012-12-14 | 1 | -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 cache | Pascal Terjan | 2012-12-10 | 1 | -1/+0 |
| | |||||
* | use rpmbuild/ rather than rpm/ like modern guidelines | Thierry Vignaud | 2012-09-25 | 1 | -3/+3 |
| | | | | (need invalidating chroots) | ||||
* | Mount /dev/shm as tmpfs | Pascal Terjan | 2012-09-19 | 1 | -1/+1 |
| | |||||
* | mount /dev/shm as --bind like other mount points (mga#7329) | Thierry Vignaud | 2012-09-12 | 1 | -1/+1 |
| | | | | else it can result in sudo asking password | ||||
* | fix check_chroot_need_update "regression", which was always telling to rebuild | Arnaud Patard | 2012-09-07 | 1 | -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 creating | Arnaud Patard | 2012-09-05 | 1 | -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 error | Thierry Vignaud | 2012-09-03 | 1 | -4/+1 |
| | |||||
* | (clean_and_build_chroot) fix path on message | Thierry Vignaud | 2012-09-02 | 1 | -1/+1 |
| | |||||
* | fix import loop | Thierry Vignaud | 2012-09-01 | 1 | -1/+1 |
| | |||||
* | help perl_checker | Thierry Vignaud | 2012-08-27 | 1 | -1/+2 |
| | |||||
* | kill BUG note | Thierry Vignaud | 2012-08-27 | 1 | -1/+0 |
| | |||||
* | (remove_chroot) pass missing 'config' parameter to clean_all_chroot_tmp() | Thierry Vignaud | 2012-08-27 | 1 | -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 note | Thierry Vignaud | 2012-08-27 | 1 | -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 Vignaud | 2012-08-27 | 1 | -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 parameters | Thierry Vignaud | 2012-08-27 | 1 | -2/+2 |
| | |||||
* | (clean_chroot) we can now kill one more useless argument | Thierry Vignaud | 2012-08-27 | 1 | -2/+2 |
| | |||||
* | (clean_and_build_chroot) split it out of clean_chroot() | Thierry Vignaud | 2012-08-27 | 1 | -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 funcs | Thierry Vignaud | 2012-08-27 | 1 | -3/+3 |
| | |||||
* | (clean_chroot) log not cleaning chroots due mount points still being there | Thierry Vignaud | 2012-08-27 | 1 | -0/+1 |
| | |||||
* | mount /dev/shm in chroots too (needed for eg: python) | Thierry Vignaud | 2012-08-27 | 1 | -1/+8 |
| |