diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-28 08:50:27 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-31 22:24:36 +0100 |
commit | b803944ce6e942c5a42da4bc67ba3f96c13ab8e3 (patch) | |
tree | 587f4e0c939edc0e2aedc8a8bb290a74f6101175 /meta/recipes-devtools/dpkg/dpkg.inc | |
parent | 64b75d4276eda7be3c41dacbbb877bd4c66ea976 (diff) | |
download | ast2050-yocto-poky-b803944ce6e942c5a42da4bc67ba3f96c13ab8e3.zip ast2050-yocto-poky-b803944ce6e942c5a42da4bc67ba3f96c13ab8e3.tar.gz |
dpkg-native: Avoid 'file changed' errors from tar
Hardlink count duing do_package_write_deb can change causing dpkg-deb
failures. We don't care about this error case so avoid it by checking
the tar exit code.
[YOCTO #7529]
(From OE-Core rev: 77e077a57536c764034f06723edd0749dc578626)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg/dpkg.inc')
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index bbbd881..5db1fde 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc +++ b/meta/recipes-devtools/dpkg/dpkg.inc @@ -4,6 +4,8 @@ SECTION = "base" SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.xz" +SRC_URI_append_class-native = " file://tar-error-code.patch" + DEPENDS = "zlib bzip2 perl ncurses" DEPENDS_class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native" RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} xz run-postinsts perl" |