networkmanager: add missing readline depends
PATCH 1/1 networkmanager: add missing readline depends
--- .../recipes-connectivity/networkmanager/networkmanager_1.28.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.28.0.bb +1 -0
@@ -17,6 +17,7 @@ DEPENDS = " \ libnewt \ jansson \ curl \ + readline \ " inherit gnomebase gettext update-rc.d systemd bash-completion vala gobject-introspection gtk-doc update-alternatives upstream-version-is-even
Signature · 1 line
2.26.2
Quoted 24 lines · Adrian Freihofer
Signed-off-by Adrian Freihofer <[email protected]>--- .../recipes-connectivity/networkmanager/networkmanager_1.28.0.bb | 1 + 1 file changed, 1 insertion(+)meta-networking/recipes-connectivity/networkmanager/networkmanager_1.28.0.bb +1
-1@@ -17,6 +17,7 @@ DEPENDS = " \ libnewt \ jansson \ curl \ + readline \ " inherit gnomebase gettext update-rc.d systemd bash-completion vala gobject-introspection gtk-doc update-alternatives upstream-version-is-even --2.26.2
Quoted 9 lines · Andreas Müller
Quoted 6 lines · Adrian Freihofer
Signed-off-by Adrian Freihofer <[email protected]>--- .../recipes-connectivity/networkmanager/networkmanager_1.28.0.bb | 1 + 1 file changed, 1 insertion(+)
Quoted 11 lines
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.28.0.bb DEPENDS = " \ · line 22
Quoted 11 lines
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.28.0.bb +1
-0@@ -17,6 +17,7 @@ DEPENDS = " \ libnewt \ jansson \ curl \ + readline \ "
Hi Adrian,
pressed 'send' accidentally...
readline is an optional dependency for nmcli. Since readline is GPLv3, not everybody is happy having it in unconditionally, I suggest you introduce a PACKAGECONFIG for that - default add or not is up to you (or what do others think?)
Cheers
Andreas
Hi Andreas
Quoted 23 lines · Andreas Müller
Quoted 7 lines · Andreas Müller
Quoted 5 lines · Adrian Freihofer
Signed-off-by Adrian Freihofer <[email protected]>--- .../recipes-connectivity/networkmanager/networkmanager_1.28.0.bb | 1 + 1 file changed, 1 insertion(+)Quoted 11 lines
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.28.0.bb DEPENDS = " \ · line 22
Quoted 11 lines
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.28.0.bb +1
-0@@ -17,6 +17,7 @@ DEPENDS = " \ libnewt \ jansson \ curl \ + readline \ "Hi Adrian,
pressed 'send' accidentally...
Quoted 8 lines
readline is an optional dependency for nmcli. Since readline is GPLv3, not everybody is happy having it in unconditionally, I suggest you introduce a PACKAGECONFIG for that - default add or not is up to you (or what do others think?)
Cheers
Andreas
Hi Andreas
Thank you for the suggestion. I will send a v2 patch with a PACKAGECONFIG[nmcli]. But since nmcli was split into a separate package, its possible to compile nmcli but not install it into a released firmware.
However I wonder a little bit how others are compiling NetworkManager. At least in my configuration there is a build error without readline in DEPENDS.
Regards,
Adrian
As you said, nmcli is already placed into its own package, so we (mbition.io) simply do not install the package onto the product images.
Last time I looked it was not possible to enable/disable nmcli at buildtime without extensive patching.
Alex
Quoted 59 lines · Adrian Freihofer
Hi Andreas
Quoted 1 line · Andreas Müller
On Mon, Jan 25, 2021 at 6:09 PM Andreas Müller <[email protected]>
Quoted 5 lines · wrote:
Quoted 5 lines
Quoted 3 lines · Adrian Freihofer
Signed-off-by Adrian Freihofer <[email protected]>---
.../recipes-connectivity/networkmanager/networkmanager_1.28.0.bb |1 +
Quoted 3 lines
Quoted 3 lines
Review
Quoted 3 lines
1 file changed, 1 insertion(+)(quoted diff) +0
-0networkmanager_1.28.0.bb b/meta-networking/recipes-connectivity/networkmanager/ networkmanager_1.28.0.bb
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
index
1053bdd42..7338290e1100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.28.0.bb
Quoted 1 line
Quoted 1 line
Quoted 1 line
+++ b/meta-networking/recipes-connectivity/networkmanager/
networkmanager_1.28.0.bb
Quoted 11 lines
Quoted 7 lines
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.28.0.bb DEPENDS = " \ · line 22
Quoted 7 lines
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.28.0.bb +1
-0@@ -17,6 +17,7 @@ DEPENDS = " \ libnewt \ jansson \ curl \ + readline \ "Hi Adrian,
pressed 'send' accidentally...
Quoted 8 lines
readline is an optional dependency for nmcli. Since readline is GPLv3, not everybody is happy having it in unconditionally, I suggest you introduce a PACKAGECONFIG for that - default add or not is up to you (or what do others think?)
Cheers
Andreas
Hi Andreas
Thank you for the suggestion. I will send a v2 patch with a PACKAGECONFIG[nmcli]. But since nmcli was split into a separate package, its possible to compile nmcli but not install it into a released firmware.
However I wonder a little bit how others are compiling NetworkManager. At least in my configuration there is a build error without readline in DEPENDS.Regards,
Adrian