From 32616421b0e2894ef61d56891e30ff8547e0aca6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 17 Sep 2017 21:27:01 +0200 Subject: bin/seed-build-list: bugfix - seed with newest revision instead of last known (and most probably outdated) one --- bin/seed-build-list | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'bin/seed-build-list') 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" -- cgit v1.2.3-54-g00ecf