diff options
author | Alejandro del Castillo <alejandro.delcastillo@ni.com> | 2017-03-08 15:40:14 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-11 16:09:14 +0000 |
commit | f4d4f99cfbc2396e49c1613a7d237b9e57f06f81 (patch) | |
tree | ccc985b3525c8ff884f222e31cb1a02d6c4514ac | |
parent | ca5059e638c6641d73c6b30ae7ed8b25c3f4a847 (diff) | |
download | poky-f4d4f99cfbc2396e49c1613a7d237b9e57f06f81.tar.gz |
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.
(From OE-Core rev: 1ff3de844c78e3766c7f92ca17c308ef3c9427e1)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/opkg/opkg_0.3.4.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opkg/opkg_0.3.4.bb b/meta/recipes-devtools/opkg/opkg_0.3.4.bb index 6ac9438268..e298185723 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" | |||
28 | target_localstatedir := "${localstatedir}" | 28 | target_localstatedir := "${localstatedir}" |
29 | OPKGLIBDIR = "${target_localstatedir}/lib" | 29 | OPKGLIBDIR = "${target_localstatedir}/lib" |
30 | 30 | ||
31 | PACKAGECONFIG ??= "" | 31 | PACKAGECONFIG ??= "libsolv" |
32 | 32 | ||
33 | PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,gpgme libgpg-error,gnupg" | 33 | PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,gpgme libgpg-error,gnupg" |
34 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" | 34 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" |