mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
apt: Stage include headers in do_install and drop custom staging function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -98,4 +98,7 @@ do_install () {
|
|||||||
install -d ${D}${localstatedir}/cache/apt/archives/partial
|
install -d ${D}${localstatedir}/cache/apt/archives/partial
|
||||||
install -d ${D}${docdir}/apt/examples
|
install -d ${D}${docdir}/apt/examples
|
||||||
install -m 0644 doc/examples/* ${D}${docdir}/apt/examples/
|
install -m 0644 doc/examples/* ${D}${docdir}/apt/examples/
|
||||||
|
|
||||||
|
install -d ${D}${includedir}/apt-pkg/
|
||||||
|
install -m 0644 include/apt-pkg/*.h ${D}${includedir}/apt-pkg/
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,13 +12,3 @@ require apt-package.inc
|
|||||||
FILES_${PN} += "${bindir}/apt-key"
|
FILES_${PN} += "${bindir}/apt-key"
|
||||||
apt-manpages += "doc/apt-key.8"
|
apt-manpages += "doc/apt-key.8"
|
||||||
|
|
||||||
do_stage() {
|
|
||||||
install -d ${STAGING_LIBDIR} ${STAGING_INCDIR}/apt-pkg
|
|
||||||
eval `cat environment.mak | grep ^GLIBC_VER | sed -e's, = ,=,'`
|
|
||||||
oe_libinstall -so -C bin libapt-pkg$GLIBC_VER-6 ${STAGING_LIBDIR}/
|
|
||||||
ln -sf libapt-pkg$GLIBC_VER-6.so ${STAGING_LIBDIR}/libapt-pkg.so
|
|
||||||
oe_libinstall -so -C bin libapt-inst$GLIBC_VER-6 ${STAGING_LIBDIR}/
|
|
||||||
ln -sf libapt-inst$GLIBC_VER-6.so ${STAGING_LIBDIR}/libapt-inst.so
|
|
||||||
|
|
||||||
install -m 0644 include/apt-pkg/*.h ${STAGING_INCDIR}/apt-pkg/
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user