aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* ulri: rely on status.log to know a build completedPascal Terjan2022-04-251-1/+2
| | | | | | | | | | This will fix packages not marked as noarch but having only noarch subpackages, even if we still end up wasting resources. The only risk I see is if the noarch packages get built on all mandatory architectures first, upload starts and other architectures complete in hte middle, however this should not modify the files being uploaded, we use a temporary file and rename so it should be fine.
* Have rpmspec drop the newline directlyPascal Terjan2021-11-241-2/+1
|
* iurt: Allow generated src.rpm to change namePascal Terjan2021-11-231-1/+15
| | | | | Some packages use macros for Name and those can change based on the distro version.
* Add arch to all log filesPascal Terjan2020-12-131-2/+2
|
* Change misleading log linesPascal Terjan2020-12-041-2/+2
|
* Do not add media twicePascal Terjan2020-11-291-8/+0
|
* Always use urpmi --urpmi-rootPascal Terjan2020-11-292-65/+19
|
* Add architecture in botcmd filenamePascal Terjan2020-06-151-1/+1
|
* Move the updating of packages laterPascal Terjan2020-06-151-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 Terjan2020-06-151-5/+5
| | | | | | This reverts commit fe9d5b05cada63b4aa30b71401456263a3b511f1. It actually made things worse, this code is really a maze.
* Move updating the chroot to the right placePascal Terjan2020-06-151-5/+5
|
* Update packages after creating chrootPascal Terjan2020-06-142-0/+26
| | | | | 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 failPascal Terjan2020-06-141-1/+5
|
* ulri: sort file names in mailThierry Vignaud2020-04-271-2/+2
|
* Move check_{no,}arch to a new RPM modulePascal Terjan2020-03-152-45/+55
| | | | They have nothing to do with the config and work on an RPM file.
* Delete unused optionsPascal Terjan2020-02-151-2/+0
|
* Allow building arm v5 and v7 on armv8lPascal Terjan2020-01-141-7/+5
| | | | | Also cleanup arch_comp, no need to list to say an arch is compatible with itself.
* Allow - in host when parsing lock file namePascal Terjan2020-01-091-1/+1
|
* Use setarch linux32 rather than target archPascal Terjan2019-11-091-2/+4
| | | | | | | | $ setarch --list uname26 linux32 linux64 armv7l
* Always call setarchPascal Terjan2019-11-091-4/+2
| | | | | | | It used to be called when target is i586 to allow building for i586 on x86_64. Calling it on all architectures should have no impact when the architecture is the same, and this allows to build also for 32bit arm on 64bit arm host.
* Fix uses as touch is now used in another filePascal Terjan2019-11-041-0/+1
|
* Fix syntax errorPascal Terjan2019-11-031-1/+1
|
* Create one file per architecture for .uploadPascal Terjan2019-11-032-4/+8
| | | | This is consistent with .done, .excluded, etc so allows reusing the code.
* emi: Fix bug introduce in previous commitPascal Terjan2019-11-021-8/+17
| | | | | It moved the creation of .upload too early, potentially before metadata was updated when several packages were uploaded at once.
* emi: store uploaded architectures in .uploadPascal Terjan2019-11-011-0/+9
| | | | | This allows to know which non mandatory architectures are done and will allow to surface it on the web UI.
* Revert "fix timeout message when killing for other reason"Thierry Vignaud2019-08-071-23/+5
| | | | | | | | This reverts commit 0d78ec170900df342301a5bbe44e7ca883cc0db1. Rationale: That will not work as intended b/c the message is set in the child process while it gets logged in the parent
* fix timeout message when killing for other reasonThierry Vignaud2019-07-201-5/+23
|
* Kill processes before unmounting in clean_chrootPascal Terjan2018-10-161-5/+3
|
* Ignore failures when cancelling buildsPascal Terjan2018-10-161-0/+2
| | | | | This will avoid listing other architectures as failed, and giving some confusing logs.
* remove unused parameterThierry Vignaud2018-10-152-4/+4
|
* Kill other architectures in case of failurePascal Terjan2018-10-141-2/+0
|
* Delete .done files when a mandatory arch failsPascal Terjan2018-10-141-2/+12
|
* Allow disabling build_stalled_timeoutPascal Terjan2018-07-281-1/+1
|
* Remove unused optionPascal Terjan2018-01-112-4/+0
|
* Default to 10 minutes for commandsPascal Terjan2018-01-112-3/+1
| | | | Especially for large packages 5 minutes to recreate src.rpm is not enough
* fix checking if chroot needs updatingThierry Vignaud2017-10-151-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 Terjan2017-10-131-1/+1
| | | | previous commit)
* Change use_netns to allow per package settingPascal Terjan2017-10-131-7/+7
|
* Allow overriding true config values with falsePascal Terjan2017-10-041-3/+11
|
* Add an option to disable netnsPascal Terjan2017-10-041-1/+1
|
* kill old commented out pkill urpmiThierry Vignaud2017-10-041-3/+0
| | | | indeed we would never run that...
* Fix creating new reference chrootPascal Terjan2017-10-041-1/+3
|
* (install_packages) kill unused argThierry Vignaud2017-10-042-2/+1
|
* (_install_callback) kill unused argThierry Vignaud2017-10-041-2/+2
|
* kill unused variableThierry Vignaud2017-10-041-1/+0
|
* Delete old commented code0.7.1Pascal Terjan2017-10-041-9/+0
|
* Fix previous commitPascal Terjan2017-10-041-16/+4
|
* Do not use chroot urpmiPascal Terjan2017-10-031-6/+6
| | | | | Either use urpmi --root or urpmi --urpmi-root so that packages can be installed without networking inside the chroot.
* Kill unused functionPascal Terjan2017-10-031-34/+0
|
* Use --urpmi-root also for urpmi.addmediaPascal Terjan2017-10-031-3/+7
| | | | This allows adding the media without networking inside the chroot