From 34625f886f49d66df6b635e79903a425463920c8 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Tue, 28 Jun 2022 17:13:59 +0200 Subject: [PATCH] openssh: do not create an empty openssh-dev package When building an SDK (with populate_sdk), all '-dev' packages are installed. And empty 'openssh-dev' package would pull in 'openssh-sshd' package even if our image is only depending on 'openssh-sftp'. This causes a conflict with 'dropbear' server, which is only using openssh-sftp. Fix: Problem: package dropbear-dev-2020.81-r0.4.cortexa7t2hf_neon requires dropbear = 2020.81-r0.4, but none of the providers can be installed - package dropbear-2020.81-r0.4.cortexa7t2hf_neon conflicts with openssh provided by openssh-8.9p1-r0.7.cortexa7t2hf_neon - package openssh-8.9p1-r0.7.cortexa7t2hf_neon conflicts with dropbear provided by dropbear-2020.81-r0.4.cortexa7t2hf_neon - package openssh-dev-8.9p1-r0.7.cortexa7t2hf_neon requires openssh = 8.9p1-r0.7, but none of the providers can be installed - conflicting requests Signed-off-by: Javier Viguera --- .../recipes-connectivity/openssh/openssh_%.bbappend | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta-digi-dey/recipes-connectivity/openssh/openssh_%.bbappend diff --git a/meta-digi-dey/recipes-connectivity/openssh/openssh_%.bbappend b/meta-digi-dey/recipes-connectivity/openssh/openssh_%.bbappend new file mode 100644 index 000000000..aeea9e976 --- /dev/null +++ b/meta-digi-dey/recipes-connectivity/openssh/openssh_%.bbappend @@ -0,0 +1,11 @@ +# Copyright (C) 2022 Digi International. + +# Don't create an empty openssh-dev package. +# +# When building an SDK (with populate_sdk), all '-dev' packages are +# installed. And empty 'openssh-dev' package would pull in 'openssh-sshd' +# package even if our image is only depending on 'openssh-sftp'. +# +# This causes a conflict with 'dropbear' server, which is only using +# openssh-sftp. +ALLOW_EMPTY:${PN}-dev = "0"