index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-05-05 10:24:44 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-05-05 10:24:44 +0200 |
commit | d3c0f340aaadeb57f4d4c4a94d4c3d2a3a4ed429 (patch) | |
tree | a25720a383a63d3bc7817145a00ecdabf1d88513 /bin/return-assignment | |
parent | eda35a90de7ebe44362fcb0444c7be5139a4567d (diff) |
-rwxr-xr-x | bin/return-assignment | 6 |
diff --git a/bin/return-assignment b/bin/return-assignment index a010dd4..2528b44 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -2,13 +2,15 @@ # report back on a build assignment # either on success via: -# "$0 $package $revision $repository" and tar'ed packages on stdin +# "$0 $package $revision $repository" and tar'ed packages (= a tar of +# package(s) and signature(s)) on stdin # or on failure via: # "$0 $package $revision $repository ERROR" # TODO: # properly handle if built package is out of date # sign package database +# use lock file(s) . "${0%/*}/../conf/default.conf" @@ -51,7 +53,7 @@ repo-add "$3-staging.db.tar.gz" $(echo "${new_files}" | grep '\.pkg\.tar\.xz$') #repo-add -v -s -k "${repo_key}" "$3-staging.tar.gz" $(echo "${new_files}" | grep '\.pkg\.tar\.xz$') # remove all loops which are broken by this package -sed '1d' "${work_dir}/package-states/$1.$2.$3" | \ +sed '1d' "${work_dir}/package-states/$1.$2.$3.locked" | \ sort -u | \ sed 'p;s|$|.locked|' | \ xargs -rn1 rm -f |