mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 04:03:03 +01:00
Add new patches for enable builds on hosts that has GCC version minor than 5 because doesn't support std::array and std::put_time, those patches could be removed after get rid of Debian8 and Centos7 support. - gcc_4.x_Revert-avoid-changing-the-global-LC_TIME-for-Release.patch - gcc_4.x_Revert-use-de-localed-std-put_time-instead-rolling-o.patch - gcc_4.x_apt-pkg-contrib-strutl.cc-Include-array-header.patch The LIC_FILES_CHKSUM changed because the license file now has style changes in the text remains GPLv2+. The patch Revert-always-run-dpkg-configure-a-at-the-end-of-our was updated because now the precision fields use floating point numbers. (From OE-Core rev: da99ae14c3a5719b317ff71b8f778a7c987f6158) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
739 B
BlitzBasic
21 lines
739 B
BlitzBasic
DEPENDS = "curl db zlib"
|
|
RDEPENDS_${PN} = "dpkg bash debianutils"
|
|
require apt.inc
|
|
|
|
require apt-package.inc
|
|
|
|
PACKAGECONFIG ??= "lzma"
|
|
PACKAGECONFIG[lzma] = "ac_cv_lib_lzma_lzma_easy_encoder=yes,ac_cv_lib_lzma_lzma_easy_encoder=no,xz"
|
|
PACKAGECONFIG[bz2] = "ac_cv_lib_bz2_BZ2_bzopen=yes,ac_cv_lib_bz2_BZ2_bzopen=no,bzip2"
|
|
PACKAGECONFIG[lz4] = "ac_cv_lib_lz4_LZ4F_createCompressionContext=yes,ac_cv_lib_lz4_LZ4F_createCompressionContext=no,lz4"
|
|
|
|
FILES_${PN} += "${bindir}/apt-key"
|
|
apt-manpages += "doc/apt-key.8"
|
|
|
|
do_install_append() {
|
|
#Write the correct apt-architecture to apt.conf
|
|
APT_CONF=${D}/etc/apt/apt.conf
|
|
echo 'APT::Architecture "${DPKG_ARCH}";' > ${APT_CONF}
|
|
oe_libinstall -so -C bin libapt-private ${D}${libdir}/
|
|
}
|