diff options
author | Erich Eckner <git@eckner.net> | 2017-09-17 21:27:01 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-09-17 21:27:01 +0200 |
commit | 32616421b0e2894ef61d56891e30ff8547e0aca6 (patch) | |
tree | 69c0e6fac624bab481109fbee5e0043f81ce316a | |
parent | 26b553926dd28e830f43a173c0315b2dca272d4d (diff) | |
download | builder-32616421b0e2894ef61d56891e30ff8547e0aca6.tar.xz |
bin/seed-build-list: bugfix - seed with newest revision instead of last known (and most probably outdated) one
-rwxr-xr-x | bin/seed-build-list | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/bin/seed-build-list b/bin/seed-build-list index d58c1f9..b3f2cd0 100755 --- a/bin/seed-build-list +++ b/bin/seed-build-list @@ -208,8 +208,17 @@ rm "${tmp_dir}/delta-packages" # convert append-packages to build-list.new (add git hashes) -cut -d' ' -f1,2,3,4 < \ +cut -d' ' -f1,4 < \ "${tmp_dir}/append-packages" | \ + sort -u | \ + while read -r pkg repo; do + git_repo=$(find_git_repository_to_package_repository "${repo}") + printf '%s %s %s %s\n' \ + "${pkg}" \ + "$(cat "${work_dir}/${git_repo}.revision")" \ + "$(cat "${work_dir}/archlinux32.revision")" \ + "${repo}" + done | \ sort -u > \ "${tmp_dir}/build-list.append" |