From b49f96f8a8308cfd5e96b4ef5257851cdaf9f18d Mon Sep 17 00:00:00 2001 From: Mike Roberts <2947595+m-roberts@users.noreply.github.com> Date: Mon, 26 Oct 2020 23:03:00 +0000 Subject: [PATCH] Ignore build dependencies when installing the package --- main.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 4de71fd..9523fce 100644 --- a/main.js +++ b/main.js @@ -121,9 +121,11 @@ async function main() { "exec", container, "apt-get", "install", "--no-install-recommends", "-y", + // General packaging stuff "dpkg-dev", "debhelper", + // Used by pybuild "libpython3.7-minimal:" + targetArchitecture ]) @@ -141,7 +143,18 @@ async function main() { await exec.exec("docker", [ "exec", container, - "dpkg-buildpackage", "--no-sign", "-a" + targetArchitecture + "dpkg-buildpackage", + + // Don't sign for now + "--no-sign", + + // Ignore build dependencies - we have already installed them + // + // Seems to not recognise if python3-all and python3-gpiozero are installed + // and may affect other packages in the same way - but THEY ARE THERE + "-d", + + "-a" + targetArchitecture ]) core.endGroup()