diff options
author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2019-06-29 18:53:25 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-30 22:40:52 +0100 |
commit | de806105788a2290efd2da7ed6d9bd4c7851c870 (patch) | |
tree | 07c0b5c28104791e7baebb76128d759a73951ecc /meta/recipes-devtools/apt/apt_1.2.31.bb | |
parent | ee50f417f3ff83123afa50bb4675ad706a7bb76c (diff) | |
download | poky-de806105788a2290efd2da7ed6d9bd4c7851c870.tar.gz |
apt: update to 1.2.31
(From OE-Core rev: b414b95a0e0fc5b5e1403272eaaf59e0bec6da06)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/apt/apt_1.2.31.bb')
-rw-r--r-- | meta/recipes-devtools/apt/apt_1.2.31.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt_1.2.31.bb b/meta/recipes-devtools/apt/apt_1.2.31.bb new file mode 100644 index 0000000000..ae0bce933d --- /dev/null +++ b/meta/recipes-devtools/apt/apt_1.2.31.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | DEPENDS = "curl db zlib" | ||
2 | RDEPENDS_${PN} = "dpkg bash debianutils" | ||
3 | require apt.inc | ||
4 | |||
5 | require apt-package.inc | ||
6 | |||
7 | PACKAGECONFIG ??= "lzma" | ||
8 | PACKAGECONFIG[lzma] = "ac_cv_lib_lzma_lzma_easy_encoder=yes,ac_cv_lib_lzma_lzma_easy_encoder=no,xz" | ||
9 | PACKAGECONFIG[bz2] = "ac_cv_lib_bz2_BZ2_bzopen=yes,ac_cv_lib_bz2_BZ2_bzopen=no,bzip2" | ||
10 | PACKAGECONFIG[lz4] = "ac_cv_lib_lz4_LZ4F_createCompressionContext=yes,ac_cv_lib_lz4_LZ4F_createCompressionContext=no,lz4" | ||
11 | |||
12 | FILES_${PN} += "${bindir}/apt-key" | ||
13 | apt-manpages += "doc/apt-key.8" | ||
14 | |||
15 | do_install_append() { | ||
16 | #Write the correct apt-architecture to apt.conf | ||
17 | APT_CONF=${D}/etc/apt/apt.conf | ||
18 | echo 'APT::Architecture "${DPKG_ARCH}";' > ${APT_CONF} | ||
19 | oe_libinstall -so -C bin libapt-private ${D}${libdir}/ | ||
20 | } | ||