]> code.ossystems Code Review - openembedded-core.git/commitdiff
opkg: add missing initialization of conf->exclude_list
authorJonathan Liu <net147@gmail.com>
Fri, 23 Aug 2013 10:50:50 +0000 (20:50 +1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Aug 2013 10:42:12 +0000 (11:42 +0100)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/opkg/opkg/add-exclude.patch

index 34e2bb49fd489a306e398abbe6209ab5c691af13..8489058b9e55f528168f9609f28db32288278a70 100644 (file)
@@ -10,7 +10,20 @@ so there is no need to free the data.
 Upstream-Status: Pending
 
 Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
+Signed-off-by: Jonathan Liu <net147@gmail.com>
 
+Index: trunk/libopkg/opkg_conf.c
+===================================================================
+--- trunk.orig/libopkg/opkg_conf.c
++++ trunk/libopkg/opkg_conf.c
+@@ -442,6 +442,7 @@ opkg_conf_init(void)
+       pkg_dest_list_init(&conf->pkg_dest_list);
+       pkg_dest_list_init(&conf->tmp_dest_list);
+       nv_pair_list_init(&conf->arch_list);
++      conf->exclude_list = NULL;
+       return 0;
+ }
 Index: trunk/libopkg/opkg_conf.h
 ===================================================================
 --- trunk.orig/libopkg/opkg_conf.h