summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-06 16:15:26 +0100
committerErich Eckner <git@eckner.net>2017-11-06 16:15:26 +0100
commitbe5450c060ab4556a79b11852c3c3de34a2f0693 (patch)
tree9c584d30f4b01051b9efea7f5bfcd07af662cd8d /bin/db-update
parent0b9304e309a4da488d6fa6686ebbd2326b988b33 (diff)
downloadbuilder-be5450c060ab4556a79b11852c3c3de34a2f0693.tar.xz
bin/common-functions, bin/db-update: print_list_of_archaic_packages new -- ignore archaic packages for dependency considerations
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update19
1 files changed, 12 insertions, 7 deletions
diff --git a/bin/db-update b/bin/db-update
index 241acf0..279e44f 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -484,8 +484,11 @@ find "${work_dir}/package-infos" -name '*.groups' \
sort -u > \
"${tmp_dir}/base-packages"
-# shellcheck disable=SC2086
-printf '%s\n' ${packages_to_force_unstage} > \
+{
+ # shellcheck disable=SC2086
+ printf '%s\n' ${packages_to_force_unstage}
+ print_list_of_archaic_packages 'build-list'
+} > \
"${tmp_dir}/force-unstage-packages"
# calculate what packages should be unstaged:
@@ -501,17 +504,19 @@ if [ -z "$(
)" ]; then
>&2 echo 'db-update unstage: we pretend, the group "base" does not exist, so we only fetch "direct" dependencies on base-packages'
for s in "${tmp_dir}/all-builds" "${tmp_dir}/all-depends"; do
- grep -v ' base$' "${s}" > \
- "${s}.no-base" || \
- true
+ sed '/ base$/d' "${s}" > \
+ "${s}.no-base"
done
find_biggest_subset_of_packages "${tmp_dir}/done-packages" "${tmp_dir}/build-list-packages" "${tmp_dir}/all-builds.no-base" "${tmp_dir}/all-depends.no-base" "${tmp_dir}/force-unstage-packages" > \
"${tmp_dir}/unstage-packages"
fi
-# shellcheck disable=SC2086
-printf '%s\n' ${packages_to_force_stabilize} > \
+{
+ # shellcheck disable=SC2086
+ printf '%s\n' ${packages_to_force_stabilize}
+ print_list_of_archaic_packages 'build-list' 'staging' 'testing'
+} > \
"${tmp_dir}/force-stabilize-packages"
# calculate what packages should be stabilized