summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Siegmund <jsiegmund@arri.de>2018-02-04 12:08:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-16 18:05:39 +0000
commit0f613f82c48e9964c25f292636839d8ba6fdfb98 (patch)
tree6456a5ab459992fe427abe82653d8436d1cf7904
parent89cc1315b3e983d52235d5f6f9cecd5f5cedfd83 (diff)
downloadpoky-0f613f82c48e9964c25f292636839d8ba6fdfb98.tar.gz
apt-native: Add libapt-pkg headers
Native tools were not able to use the headers of apt-pkg. This patch adds the feature. The headers were added from apt-pkg and apt-inst to the native recipe. The shipped headers match the ones in the Ubuntu package libapt-pkg-dev. (From OE-Core rev: bf79355d2834a387f94978fe9650bee43244a40e) Signed-off-by: Jan Siegmund <jsiegmund@arri.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/apt/apt-native.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt-native.inc b/meta/recipes-devtools/apt/apt-native.inc
index 68f1b3ce2c..ef232c1eb6 100644
--- a/meta/recipes-devtools/apt/apt-native.inc
+++ b/meta/recipes-devtools/apt/apt-native.inc
@@ -67,4 +67,10 @@ do_install_base () {
67 install -d ${D}${localstatedir}/cache/apt/archives/partial 67 install -d ${D}${localstatedir}/cache/apt/archives/partial
68 68
69 install -d ${D}${localstatedir}/log/apt/ 69 install -d ${D}${localstatedir}/log/apt/
70
71 install -d ${D}${includedir}/apt-pkg
72 for h in `find ${S}/apt-pkg ${S}/apt-inst -name '*.h'`
73 do
74 install -m 0644 $h ${D}${includedir}/apt-pkg
75 done
70} 76}