]> code.ossystems Code Review - openembedded-core.git/commitdiff
opkg-build: Ignore tar error due to hardlinks issue when creating ipk files
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>
Fri, 10 Jul 2015 20:42:12 +0000 (13:42 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 Jul 2015 21:53:22 +0000 (22:53 +0100)
 If a the number of hard links decreases or increases while creating the tar
 files used for an ipk package, tar fails with error code 1, we use hardlinks
 on package/ and packages-split/ to decrease disk  usage, sometimes other
 parts of the build can cause a change in the link  count, since this happens
 in a controlled environment we can safely ignore the error and continue to
 create the ipk file, fixed some typos from old version.

[YOCTO #7933]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb

index 4bcae49542b00d131a9b83bec08ce42b5eed0aea..e8250b71236ffbcb09a280f1b54f145749f73a35 100644 (file)
@@ -12,7 +12,7 @@ We detect if the error code produced by tar is 1 and in this case ignore it.
 This a similar behavior to the one on dpkg:
 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=40731942515ec8d80c727ad561174986d4f05818
 
-Upsteam-Status: Inappropriate
+Upstream-Status: Inappropriate
 
 Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
 
index 74b974daf1e2b93ee51ac3b15e3e168942a75eb1..2f66632b66b5fb2248a433f7a948989d1767674c 100644 (file)
@@ -10,9 +10,9 @@ PROVIDES += "virtual/update-alternatives"
 SRCREV = "53274f087565fd45d8452c5367997ba6a682a37a"
 PV = "0.1.8+git${SRCPV}"
 
-SRC_URI = "git://git.yoctoproject.org/opkg-utils " 
+SRC_URI = "git://git.yoctoproject.org/opkg-utils"
 
-SRC_URI_append_class-native = "file://tar_ignore_error.patch"
+SRC_URI_append_class-native = " file://tar_ignore_error.patch"
 
 S = "${WORKDIR}/git"