set_flags_from_control: remove function
authorAlejandro del Castillo <alejandro.delcastillo@ni.com>
Wed, 22 Feb 2017 23:32:08 +0000 (17:32 -0600)
committerJo-Philipp Wich <jo@mein.io>
Wed, 15 Mar 2017 01:16:39 +0000 (02:16 +0100)
commit07f3b022c1cf6bcafe87f083ef2482eb7a8ec701
treedbc65184e6179b967686b89250095d3ad067e20e
parentcfe46c7d5787df0bd643d44e8f985107b562300e
set_flags_from_control: remove function

During installs, install_data_files calls set_flags_from_control to
capture the case where fields, such as "Essential", are present in the
package control file but are missing on the Packages file. This
operation is expensive (re-parses the control file) and is catering to a
case that should not be supported on the first place.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
[Jo-Philipp Wich: remove function prototype as well]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg/opkg_install.c
libopkg/pkg.c
libopkg/pkg.h