summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg-utils
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>2015-07-10 13:42:12 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-12 22:55:46 +0100
commit2ec97a252f54eaeeb86db56491430f1dd16a581f (patch)
tree346089641210a7a4af57f8067e61b32774ab9994 /meta/recipes-devtools/opkg-utils
parentf1bf0b4cc14f84af48395e593ddc6608d1dc69c0 (diff)
downloadpoky-2ec97a252f54eaeeb86db56491430f1dd16a581f.tar.gz
opkg-build: Ignore tar error due to hardlinks issue when creating ipk files
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] (From OE-Core rev: 80e6f0e5782435157b9a2687ffe6cbd3b3033b47) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg-utils')
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch2
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils_git.bb4
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch b/meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch
index 4bcae49542..e8250b7123 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch
@@ -12,7 +12,7 @@ We detect if the error code produced by tar is 1 and in this case ignore it.
12This a similar behavior to the one on dpkg: 12This a similar behavior to the one on dpkg:
13http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=40731942515ec8d80c727ad561174986d4f05818 13http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=40731942515ec8d80c727ad561174986d4f05818
14 14
15Upsteam-Status: Inappropriate 15Upstream-Status: Inappropriate
16 16
17Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> 17Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
18 18
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
index 74b974daf1..2f66632b66 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
@@ -10,9 +10,9 @@ PROVIDES += "virtual/update-alternatives"
10SRCREV = "53274f087565fd45d8452c5367997ba6a682a37a" 10SRCREV = "53274f087565fd45d8452c5367997ba6a682a37a"
11PV = "0.1.8+git${SRCPV}" 11PV = "0.1.8+git${SRCPV}"
12 12
13SRC_URI = "git://git.yoctoproject.org/opkg-utils " 13SRC_URI = "git://git.yoctoproject.org/opkg-utils"
14 14
15SRC_URI_append_class-native = "file://tar_ignore_error.patch" 15SRC_URI_append_class-native = " file://tar_ignore_error.patch"
16 16
17S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
18 18