opkg: add missing initialization of conf->exclude_list

(From OE-Core rev: e4190b601c0212f0009ddb2dfa00d2880bddbc29)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jonathan Liu 2013-08-23 20:50:50 +10:00 committed by Richard Purdie
parent b18b210c1e
commit 6056f12df7
1 changed files with 13 additions and 0 deletions

View 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