Martchus
e4755a283b
Prevent running out of memory when signing split packages
...
* Launch only up to 4 gpg processes at a time
* Prevent `gpg: signing failed: Nicht genügend Hauptspeicher verfügbar`
2021-04-17 17:30:18 +02:00
Martchus
1c75e8f957
Allow signing packages manually after the build
...
Simply adding `--sign` to the `makepkg` flags doesn't work because it would
require setting up GPG within the chroot environment (of `makechrootpkg`).
When debugging it is anyways annoying that `makepkg` sends the `gpg` output
to `/dev/null`. This way the logs are preserved.
2021-03-14 21:53:51 +01:00
Martchus
45bf4fa234
Handle signature file when adding/removing/moving/checking/cleaning packages
2021-03-14 01:53:40 +01:00
Martchus
94b39f55dc
Lock working copy directory as well (as root directory)
2021-03-06 17:08:04 +01:00
Martchus
556a749362
Improve lock-related code in conductbuild.cpp
2021-03-02 18:30:40 +01:00
Martchus
930d449333
Fix handling locks in ConductBuild
2021-02-25 23:20:07 +01:00
Martchus
0760860c6d
Log lock acquisitions/releases
2021-02-25 22:12:56 +01:00
Martchus
b7f27cb0a0
Use locks to prevent multiple actions accessing the same db files and chroot dirs
2021-02-22 23:44:06 +01:00
Martchus
f040418bdd
Avoid checking for failed dependencies when processing the last package of batch
2021-02-13 12:54:01 +01:00
Martchus
97001740e2
Do enable staging in the current batch when processing the very first package
...
Likely not really relevant because the function should only be called when
processing the 2nd or further packages. However, this way it seems a little
bit less error prone.
2021-02-13 12:52:54 +01:00
Martchus
b556c39cd7
Skip the current package when checking for failed dependencies
...
We usually wouldn't expect a package to depend on itself but the different
packages build as part of one split-package might do.
2021-02-13 12:30:13 +01:00
Martchus
3fe15fb081
Add missing newline when logging failed makechrootpkg invocation
2021-02-13 12:28:42 +01:00
Martchus
cfdf980511
Avoid constructing extra string in ConductBuild::dumpBuildProgress()
2021-02-08 23:54:03 +01:00
Martchus
aa356944da
Log process IDs of started sub processes
2021-02-08 23:54:02 +01:00
Martchus
c1554f4c87
Initial import
2021-02-08 23:53:56 +01:00