From 515896661113501eed60740bc7cbd0e3df84fb70 Mon Sep 17 00:00:00 2001 From: Pavel Zakharov Date: Mon, 14 Jun 2021 13:42:10 -0400 Subject: [PATCH] TOOL-11734 linux-pkg should use install_build_deps_from_control_file whenever possible --- packages/crash-python/config.sh | 5 +---- packages/gdb-python/config.sh | 18 +----------------- packages/savedump/config.sh | 4 +--- packages/sdb/config.sh | 4 +--- 4 files changed, 4 insertions(+), 27 deletions(-) diff --git a/packages/crash-python/config.sh b/packages/crash-python/config.sh index a2ca223c..4da2dd7f 100644 --- a/packages/crash-python/config.sh +++ b/packages/crash-python/config.sh @@ -19,10 +19,7 @@ DEFAULT_PACKAGE_GIT_URL="https://gitlab.delphix.com/os-platform/crash-python.git" function prepare() { - logmust install_pkgs \ - git \ - python3-distutils \ - python3.6-dev + logmust install_build_deps_from_control_file } function build() { diff --git a/packages/gdb-python/config.sh b/packages/gdb-python/config.sh index 4074947e..6733b514 100644 --- a/packages/gdb-python/config.sh +++ b/packages/gdb-python/config.sh @@ -19,23 +19,7 @@ DEFAULT_PACKAGE_GIT_URL="https://gitlab.delphix.com/os-platform/gdb-python.git" function prepare() { - logmust install_pkgs \ - autoconf \ - automake \ - bison \ - flex \ - git \ - liblzo2-dev \ - libmpfr-dev \ - libsnappy1v5 \ - libtool \ - pkg-config \ - python3-distutils \ - python3-future \ - python3-pyelftools \ - python3.6-dev \ - texinfo \ - zlib1g-dev + logmust install_build_deps_from_control_file } function build() { diff --git a/packages/savedump/config.sh b/packages/savedump/config.sh index 00ba48d9..0b020dfc 100644 --- a/packages/savedump/config.sh +++ b/packages/savedump/config.sh @@ -19,9 +19,7 @@ DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/savedump.git" function prepare() { - logmust install_pkgs \ - git \ - python3-distutils + logmust install_build_deps_from_control_file } function build() { diff --git a/packages/sdb/config.sh b/packages/sdb/config.sh index 060fe9d9..901b343d 100644 --- a/packages/sdb/config.sh +++ b/packages/sdb/config.sh @@ -19,9 +19,7 @@ DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/sdb.git" function prepare() { - logmust install_pkgs \ - git \ - python3-distutils + logmust install_build_deps_from_control_file } function build() {