diff options
authorAlejandro Hernandez <>2015-07-10 13:42:12 -0700
committerRichard Purdie <>2015-07-12 22:53:22 +0100
commit80e6f0e5782435157b9a2687ffe6cbd3b3033b47 (patch)
parent00ffc14c57598e845281e151589292573905b03c (diff)
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] Signed-off-by: Alejandro Hernandez <> Signed-off-by: Richard Purdie <>
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.
This a similar behavior to the one on dpkg:
-Upsteam-Status: Inappropriate
+Upstream-Status: Inappropriate
Signed-off-by: Alejandro Hernandez <>
diff --git a/meta/recipes-devtools/opkg-utils/ b/meta/recipes-devtools/opkg-utils/
index 74b974daf1..2f66632b66 100644
--- a/meta/recipes-devtools/opkg-utils/
+++ b/meta/recipes-devtools/opkg-utils/
@@ -10,9 +10,9 @@ PROVIDES += "virtual/update-alternatives"
SRCREV = "53274f087565fd45d8452c5367997ba6a682a37a"
PV = "0.1.8+git${SRCPV}"
-SRC_URI = "git:// "
+SRC_URI = "git://"
-SRC_URI_append_class-native = "file://tar_ignore_error.patch"
+SRC_URI_append_class-native = " file://tar_ignore_error.patch"
S = "${WORKDIR}/git"