From 43968d2f26ce43d5df4cddf6cd3814f97af45ad1 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Fri, 22 Apr 2016 01:02:44 +0200 Subject: [PATCH] apt: use default packaging rules for base package, prepend apt-utils Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt_1.0.10.1.bb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/meta/recipes-devtools/apt/apt_1.0.10.1.bb b/meta/recipes-devtools/apt/apt_1.0.10.1.bb index 7fffd743f58..21dd46ece47 100644 --- a/meta/recipes-devtools/apt/apt_1.0.10.1.bb +++ b/meta/recipes-devtools/apt/apt_1.0.10.1.bb @@ -2,12 +2,8 @@ DEPENDS = "curl db zlib" RDEPENDS_${PN} = "dpkg bash debianutils" require apt.inc -PACKAGES += "${PN}-utils" -FILES_${PN} = "${bindir}/apt-cdrom ${bindir}/apt-get \ - ${bindir}/apt-config ${bindir}/apt-cache \ - ${libdir}/apt ${libdir}/libapt*.so.* \ - ${localstatedir} ${sysconfdir} \ - ${libdir}/dpkg" +PACKAGES =+ "${PN}-utils" +FILES_${PN} += "${libdir}/dpkg" FILES_${PN}-utils = "${bindir}/apt-sortpkgs ${bindir}/apt-extracttemplates" FILES_${PN}-dev = "${libdir}/libapt*.so ${includedir}" @@ -53,8 +49,6 @@ 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" -FILES_${PN} += "${bindir}/apt-key" - do_install_append() { #Write the correct apt-architecture to apt.conf APT_CONF=${D}/etc/apt/apt.conf -- 2.47.2