[oe-commits] [openembedded-core] 03/11: opkg: enable libsolv backend by default

git at git.openembedded.org git at git.openembedded.org
Fri Mar 10 18:03:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit f08a125b07d3cf628e5a8ee150031a7ca9d38994
Author: Alejandro del Castillo <alejandro.delcastillo at ni.com>
AuthorDate: Wed Mar 8 15:40:14 2017 -0600

    opkg: enable libsolv backend by default
    
    The libsolv backend is vastly superior than the currently enabled
    internal ad-hoc solver. While the switch does have a small impact on
    disk and memory footprint, it make sense to change the default as for
    most cases the disk/memory footprint hit should be acceptable.
    
    ========================
    Disk Footprint Increase
    ========================
    qemux86-64	 523K
    qemuarm  	 445K
    qemux86  	 576K
    
    ====================================================
    Command [1]           Libsolv      Internal Solver
    ====================================================
    opkg update          26.21 MB      26.21 MB
    opkg list            29.87 MB      29.87 MB
    opkg install procps  30.99 MB      27.33 MB
    opkg remove procps    1.69 MB       1.69 MB
    opkg update	     30.97 MB	   27.75 MB
    
    [1] Profile done via 'valgrind --tool=massif <command>' in a feed with
    ~18K packages.
    
    Signed-off-by: Alejandro del Castillo <alejandro.delcastillo at ni.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/opkg/opkg_0.3.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/opkg/opkg_0.3.4.bb b/meta/recipes-devtools/opkg/opkg_0.3.4.bb
index 6ac9438..e298185 100644
--- a/meta/recipes-devtools/opkg/opkg_0.3.4.bb
+++ b/meta/recipes-devtools/opkg/opkg_0.3.4.bb
@@ -28,7 +28,7 @@ SYSTEMD_SERVICE_${PN} = "opkg-configure.service"
 target_localstatedir := "${localstatedir}"
 OPKGLIBDIR = "${target_localstatedir}/lib"
 
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "libsolv"
 
 PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,gpgme libgpg-error,gnupg"
 PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list