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:23:19 +0100 |
commit | 40731942515ec8d80c727ad561174986d4f05818 (patch) | |
tree | 3725e5d5014a7bcc664caa4f62bd7a370d1f3406 /meta/recipes-devtools/dpkg/dpkg.inc | |
parent | 3c284cfd052367adde54f9235f3dc97cd8647dd0 (diff) | |
download | poky-40731942515ec8d80c727ad561174986d4f05818.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: 8ee36a5f2f9367550d28bf271afc53bca6ff3d5f)
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" | |||
4 | 4 | ||
5 | SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.xz" | 5 | SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.xz" |
6 | 6 | ||
7 | SRC_URI_append_class-native = " file://tar-error-code.patch" | ||
8 | |||
7 | DEPENDS = "zlib bzip2 perl ncurses" | 9 | DEPENDS = "zlib bzip2 perl ncurses" |
8 | DEPENDS_class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native" | 10 | DEPENDS_class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native" |
9 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} xz run-postinsts perl" | 11 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} xz run-postinsts perl" |