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 16:28:24 +0100 |
commit | 8ee36a5f2f9367550d28bf271afc53bca6ff3d5f (patch) | |
tree | abfc662b7804d92ee2082d69257a4d0465459e53 /meta/recipes-devtools/dpkg/dpkg.inc | |
parent | e54f2569f4fb880387edc6a99d790b765ae33080 (diff) | |
download | openembedded-core-contrib-8ee36a5f2f9367550d28bf271afc53bca6ff3d5f.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]
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 bbbd881e47..5db1fde8f1 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" |