Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/opkg: add optional libsolv dependency
@ 2024-11-04 21:15 Julien Olivain
  2024-12-29 21:50 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Julien Olivain @ 2024-11-04 21:15 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain

opkg configure script supports the --with-libsolv option since v0.3.2.
See [1].

Note that the opkg internal statisfaction solver is beeing deprecated as
of v0.7.0. See the note in changelog [2].

[1] https://git.yoctoproject.org/opkg/commit?id=bc2d3413e7dd61dd0001cc30b7785880c26eada4
[2] https://git.yoctoproject.org/opkg/tree/CHANGELOG.md?h=v0.7.0#n12

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Patch tested (compilation only) at:
https://gitlab.com/jolivain/buildroot/-/pipelines/1526813066
---
 package/opkg/opkg.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
index 0323a49f0b..9daa38c1f1 100644
--- a/package/opkg/opkg.mk
+++ b/package/opkg/opkg.mk
@@ -44,6 +44,13 @@ else
 OPKG_CONF_OPTS += --disable-bzip2
 endif
 
+ifeq ($(BR2_PACKAGE_LIBSOLV),y)
+OPKG_DEPENDENCIES += libsolv
+OPKG_CONF_OPTS += --with-libsolv
+else
+OPKG_CONF_OPTS += --without-libsolv
+endif
+
 ifeq ($(BR2_PACKAGE_LZ4),y)
 OPKG_DEPENDENCIES += lz4
 OPKG_CONF_OPTS += --enable-lz4
-- 
2.47.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/opkg: add optional libsolv dependency
  2024-11-04 21:15 [Buildroot] [PATCH 1/1] package/opkg: add optional libsolv dependency Julien Olivain
@ 2024-12-29 21:50 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-12-29 21:50 UTC (permalink / raw)
  To: Julien Olivain; +Cc: buildroot

On Mon,  4 Nov 2024 22:15:36 +0100
Julien Olivain <ju.o@free.fr> wrote:

> opkg configure script supports the --with-libsolv option since v0.3.2.
> See [1].
> 
> Note that the opkg internal statisfaction solver is beeing deprecated as
> of v0.7.0. See the note in changelog [2].
> 
> [1] https://git.yoctoproject.org/opkg/commit?id=bc2d3413e7dd61dd0001cc30b7785880c26eada4
> [2] https://git.yoctoproject.org/opkg/tree/CHANGELOG.md?h=v0.7.0#n12
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> Patch tested (compilation only) at:
> https://gitlab.com/jolivain/buildroot/-/pipelines/1526813066
> ---
>  package/opkg/opkg.mk | 7 +++++++
>  1 file changed, 7 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-29 21:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-04 21:15 [Buildroot] [PATCH 1/1] package/opkg: add optional libsolv dependency Julien Olivain
2024-12-29 21:50 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox