Patchwork dpkg: Add xz to RDEPENDS

login
register
mail settings
Submitter Saul Wold
Date Sept. 30, 2013, 10:18 p.m.
Message ID <1380579533-2045-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/59153/
State Accepted
Commit 8f6bc04c9b563f8659ce0e053072deca02da38a5
Headers show

Comments

Saul Wold - Sept. 30, 2013, 10:18 p.m.
dpkg uses xz as a compressor and the binary image is needed on the system for
dpkg to work correctly.

[YOCTO #1881]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/dpkg/dpkg.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 6734b20..b1da4fb 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -7,8 +7,8 @@  SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.xz \
 
 DEPENDS = "zlib bzip2 perl ncurses"
 DEPENDS_class-native = "bzip2-native zlib-native virtual/update-alternatives-native gettext-native perl-native"
-RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}"
-RDEPENDS_${PN}_class-native = ""
+RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} xz"
+RDEPENDS_${PN}_class-native = "xz"
 
 S = "${WORKDIR}/${BPN}-${PV}"