Skip to contentSkip to conversation

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.

PATCH In review Alejandro Hernandez 2 participants 2 messages Jul 10, 2015 1 message not in the archive

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 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.

In reply to a message not in the archive

[YOCTO #7933]

---
 meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch | 2 +-
 meta/recipes-devtools/opkg-utils/opkg-utils_git.bb                 | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch +1 -1
index 4bcae4954..e8250b7 100644
@@ -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 <[email protected]>
 
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb +2 -2
index 74b974d..2f66632 100644
@@ -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"
 
Signature · 1 line
1.8.4.5
#2 lore raw

That commit message went a bit crazy, can you reformat it please? :)

Ross

Quoted 52 lines · Alejandro Hernandez

[YOCTO #7933]

---
 meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch | 2 +-
 meta/recipes-devtools/opkg-utils/opkg-utils_git.bb                 | 4
++--
 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 4bcae4954..e8250b7 100644

meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch +0 -0
@@ -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

meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch +1 -1
-Upsteam-Status: Inappropriate
+Upstream-Status: Inappropriate
 
 Signed-off-by: Alejandro Hernandez <[email protected]>
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb +2 -3
index 74b974d..2f66632 100644
@@ -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"
 
--

1.8.4.5

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core