index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-01 | common: implement find_cached_package | Dave Reisner | |
This function (currently) searches through $PWD and $PKGDEST looking for a tarball matching the requested package name, architecture, and pkgver. If found, it writes the full path to the located package to stdout and returns 0, else 1. If more than 1 match is found, it's treated as an error and the user will need to figure out what to do. Use this in checkpkg and commitpkg, which previously implemented their own less complete logic, to locate the build artifacts they rely on. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||
2013-08-08 | common: Properly forward arguments from die to error | Dave Reisner | |
Also allow this function to be called without arguments, in which case, don't call error at all. Some uses of this function wrongly assumed that this was already allowed. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||
2013-05-03 | lib/common.sh: Introduce locking helper functions | Jan Alexander Steffens (heftig) | |
Reduces code duplication. With makechrootpkg not calling mkarchroot anymore, the lock handover protocol is unneeded. arch-nspawn does not do any locking, so add protection to archbuild. | |||
2012-10-27 | Fix return code handling | Jan Alexander Steffens (heftig) | |
Stop trap_exit from forcing a 0 exit code. This fixes makechrootpkg, which used to always return success, even if the build failed. Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||
2012-10-03 | Use dedicated trap functions to avoid unsetting the trap when e.g. cleanup ↵ | Pierre Schmitz | |
is called | |||
2012-06-16 | mkarchroot: reset trap so it wont be called twice | Pierre Schmitz | |
2011-11-04 | lib/common.sh: Revise setup_workdir() | Lukas Fleischer | |
* Honor TMPDIR variable (just like we did in commit a0c6bf45). * Quote path properly. * Avoid unnecessary use of basename(1). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||
2011-11-04 | lib/common.sh: Use double brackets | Lukas Fleischer | |
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||
2011-11-01 | Move common functions to a shared file | Pierre Schmitz | |
* common.sh is included on build time * most functions are copied from makepkg |