diff options
author | Jo-Philipp Wich <jo@mein.io> | 2017-02-16 17:36:47 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-02-19 19:08:46 +0100 |
commit | b65dc04712dfb8cc7bb9036c7c73b0cead6dd7c9 (patch) | |
tree | 6ebef4cc7d786698b57488d1d3d929dd7c398560 /package/system/opkg/patches/014-errors-to-stderr.patch | |
parent | 84ceca514841dd6d4705dc27d2104ee0aa18b9e1 (diff) | |
download | upstream-b65dc04712dfb8cc7bb9036c7c73b0cead6dd7c9.tar.gz upstream-b65dc04712dfb8cc7bb9036c7c73b0cead6dd7c9.tar.bz2 upstream-b65dc04712dfb8cc7bb9036c7c73b0cead6dd7c9.zip |
opkg: switch to own fork to improve memory usage
Switch to our own fork of opkg to significantly reduce the required amount
of memory when updating lists or installing packages.
Preliminary tests showed a usage drop of about 90% during these operations,
from ~3.7MB with unmodified opkg to ~360KB with our custom fork.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/system/opkg/patches/014-errors-to-stderr.patch')
-rw-r--r-- | package/system/opkg/patches/014-errors-to-stderr.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/package/system/opkg/patches/014-errors-to-stderr.patch b/package/system/opkg/patches/014-errors-to-stderr.patch deleted file mode 100644 index f0a93a8717..0000000000 --- a/package/system/opkg/patches/014-errors-to-stderr.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/libopkg/opkg_message.c -+++ b/libopkg/opkg_message.c -@@ -64,10 +64,10 @@ print_error_list(void) - struct errlist *err = error_list_head; - - if (err) { -- printf("Collected errors:\n"); -+ fprintf(stderr, "Collected errors:\n"); - /* Here we print the errors collected and free the list */ - while (err != NULL) { -- printf(" * %s", err->errmsg); -+ fprintf(stderr, " * %s", err->errmsg); - err = err->next; - } - } |