From a7d07e125d1404c77ca23d6129b9db1e62fcfbed Mon Sep 17 00:00:00 2001 From: Sebastien Roy Date: Tue, 10 Feb 2026 13:22:24 -0500 Subject: [PATCH 01/10] DLPX-96562 eliminate docker from the delphix-platform package build PR URL: https://www.github.com/delphix/linux-pkg/pull/382 --- packages/delphix-platform/config.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/delphix-platform/config.sh b/packages/delphix-platform/config.sh index d68be11d..cf40210f 100644 --- a/packages/delphix-platform/config.sh +++ b/packages/delphix-platform/config.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright 2018, 2020 Delphix +# Copyright 2018, 2026 Delphix # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -21,8 +21,7 @@ DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/delphix-platform.git" function build() { logmust cd "$WORKDIR/repo" logmust ansible-playbook bootstrap/playbook.yml - logmust ./scripts/docker-run.sh make packages \ - VERSION="1.0.0-$PACKAGE_REVISION" + logmust make packages logmust sudo chown -R "$USER:" artifacts logmust mv artifacts/*deb "$WORKDIR/artifacts/" } From 8c718c092a78730ab6934b865bdbaaccd54fb92f Mon Sep 17 00:00:00 2001 From: Sebastien Roy Date: Tue, 10 Feb 2026 14:33:20 -0500 Subject: [PATCH 02/10] install build dependencies using control.in --- packages/delphix-platform/config.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/delphix-platform/config.sh b/packages/delphix-platform/config.sh index cf40210f..add2ac82 100644 --- a/packages/delphix-platform/config.sh +++ b/packages/delphix-platform/config.sh @@ -18,6 +18,10 @@ DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/delphix-platform.git" +function prepare() { + logmust install_build_deps_from_control_file +} + function build() { logmust cd "$WORKDIR/repo" logmust ansible-playbook bootstrap/playbook.yml From d35f532849dbdcf7d73dd7f9a1991ef7a5fafd3e Mon Sep 17 00:00:00 2001 From: Sebastien Roy Date: Tue, 10 Feb 2026 14:35:56 -0500 Subject: [PATCH 03/10] eliminate use of ansible --- packages/delphix-platform/config.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/delphix-platform/config.sh b/packages/delphix-platform/config.sh index add2ac82..d257c9c7 100644 --- a/packages/delphix-platform/config.sh +++ b/packages/delphix-platform/config.sh @@ -24,7 +24,6 @@ function prepare() { function build() { logmust cd "$WORKDIR/repo" - logmust ansible-playbook bootstrap/playbook.yml logmust make packages logmust sudo chown -R "$USER:" artifacts logmust mv artifacts/*deb "$WORKDIR/artifacts/" From 5cf1d59aaac9d28e5fcc2eb095519acf076e3d66 Mon Sep 17 00:00:00 2001 From: Sebastien Roy Date: Tue, 10 Feb 2026 14:39:18 -0500 Subject: [PATCH 04/10] pass in package version to the make command --- packages/delphix-platform/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/delphix-platform/config.sh b/packages/delphix-platform/config.sh index d257c9c7..029630da 100644 --- a/packages/delphix-platform/config.sh +++ b/packages/delphix-platform/config.sh @@ -24,7 +24,7 @@ function prepare() { function build() { logmust cd "$WORKDIR/repo" - logmust make packages + logmust make packages VERSION="1.0.0-$PACKAGE_REVISION" logmust sudo chown -R "$USER:" artifacts logmust mv artifacts/*deb "$WORKDIR/artifacts/" } From 179d76fa9a63805a450bc82016894baf9e1d968e Mon Sep 17 00:00:00 2001 From: Sebastien Roy Date: Tue, 10 Feb 2026 15:00:01 -0500 Subject: [PATCH 05/10] add a make target to install build dependencies --- packages/delphix-platform/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/delphix-platform/config.sh b/packages/delphix-platform/config.sh index 029630da..2e162353 100644 --- a/packages/delphix-platform/config.sh +++ b/packages/delphix-platform/config.sh @@ -19,7 +19,7 @@ DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/delphix-platform.git" function prepare() { - logmust install_build_deps_from_control_file + logmust sudo make build-deps } function build() { From efacc9b07dff9b9f5673ffcc485457c1a197fd61 Mon Sep 17 00:00:00 2001 From: Sebastien Roy Date: Tue, 10 Feb 2026 15:48:59 -0500 Subject: [PATCH 06/10] fix prepare --- packages/delphix-platform/config.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/delphix-platform/config.sh b/packages/delphix-platform/config.sh index 2e162353..97fdb3f1 100644 --- a/packages/delphix-platform/config.sh +++ b/packages/delphix-platform/config.sh @@ -19,6 +19,7 @@ DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/delphix-platform.git" function prepare() { + logmust cd "$WORKDIR/repo" logmust sudo make build-deps } From 6210b8911a4a668c2eb48bc7b689004d1e657096 Mon Sep 17 00:00:00 2001 From: Sebastien Roy Date: Tue, 10 Feb 2026 17:01:10 -0500 Subject: [PATCH 07/10] fix dependency installation --- packages/delphix-platform/config.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/delphix-platform/config.sh b/packages/delphix-platform/config.sh index 97fdb3f1..12ba2bd5 100644 --- a/packages/delphix-platform/config.sh +++ b/packages/delphix-platform/config.sh @@ -18,11 +18,6 @@ DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/delphix-platform.git" -function prepare() { - logmust cd "$WORKDIR/repo" - logmust sudo make build-deps -} - function build() { logmust cd "$WORKDIR/repo" logmust make packages VERSION="1.0.0-$PACKAGE_REVISION" From 188a3399d5ba33a941fabf9704fbd48233ca08f9 Mon Sep 17 00:00:00 2001 From: Sebastien Roy Date: Tue, 10 Feb 2026 17:42:47 -0500 Subject: [PATCH 08/10] fix permissions --- packages/delphix-platform/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/delphix-platform/config.sh b/packages/delphix-platform/config.sh index 12ba2bd5..020d0322 100644 --- a/packages/delphix-platform/config.sh +++ b/packages/delphix-platform/config.sh @@ -20,7 +20,7 @@ DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/delphix-platform.git" function build() { logmust cd "$WORKDIR/repo" - logmust make packages VERSION="1.0.0-$PACKAGE_REVISION" + logmust sudo make packages VERSION="1.0.0-$PACKAGE_REVISION" logmust sudo chown -R "$USER:" artifacts logmust mv artifacts/*deb "$WORKDIR/artifacts/" } From 363381f33156e3826e927094d6eae3173b19e5d8 Mon Sep 17 00:00:00 2001 From: Sebastien Roy Date: Tue, 10 Feb 2026 18:58:48 -0500 Subject: [PATCH 09/10] fix --- packages/delphix-platform/config.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/delphix-platform/config.sh b/packages/delphix-platform/config.sh index 020d0322..97fdb3f1 100644 --- a/packages/delphix-platform/config.sh +++ b/packages/delphix-platform/config.sh @@ -18,9 +18,14 @@ DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/delphix-platform.git" +function prepare() { + logmust cd "$WORKDIR/repo" + logmust sudo make build-deps +} + function build() { logmust cd "$WORKDIR/repo" - logmust sudo make packages VERSION="1.0.0-$PACKAGE_REVISION" + logmust make packages VERSION="1.0.0-$PACKAGE_REVISION" logmust sudo chown -R "$USER:" artifacts logmust mv artifacts/*deb "$WORKDIR/artifacts/" } From 71702acfc73253039cfd1768b78201d53a31fe25 Mon Sep 17 00:00:00 2001 From: Sebastien Roy Date: Tue, 10 Feb 2026 20:27:42 -0500 Subject: [PATCH 10/10] build as root --- packages/delphix-platform/config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/delphix-platform/config.sh b/packages/delphix-platform/config.sh index 97fdb3f1..3da8449a 100644 --- a/packages/delphix-platform/config.sh +++ b/packages/delphix-platform/config.sh @@ -25,7 +25,7 @@ function prepare() { function build() { logmust cd "$WORKDIR/repo" - logmust make packages VERSION="1.0.0-$PACKAGE_REVISION" + logmust sudo make packages VERSION="1.0.0-$PACKAGE_REVISION" logmust sudo chown -R "$USER:" artifacts - logmust mv artifacts/*deb "$WORKDIR/artifacts/" + logmust sudo mv artifacts/*deb "$WORKDIR/artifacts/" }