Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/seed-build-list
diff options
context:
space:
mode:
Diffstat (limited to 'bin/seed-build-list')
-rwxr-xr-xbin/seed-build-list11
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"