mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
dpkg: Fix tarfix.patch
Accidentally forgot to merge the backport changes into the commit. Fix so the patch applies correctly. (From OE-Core rev: 5f50f90ed824ea6a8d1d1b41a5345f51a15c443f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -30,16 +30,16 @@ Upstream-Status: Submitted [have mailed dpkg maintainer about this]
|
|||||||
RP
|
RP
|
||||||
2015/7/13
|
2015/7/13
|
||||||
|
|
||||||
Index: dpkg-1.17.25/dpkg-deb/build.c
|
Index: dpkg-1.17.4/dpkg-deb/build.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- dpkg-1.17.25.orig/dpkg-deb/build.c
|
--- dpkg-1.17.4.orig/dpkg-deb/build.c
|
||||||
+++ dpkg-1.17.25/dpkg-deb/build.c
|
+++ dpkg-1.17.4/dpkg-deb/build.c
|
||||||
@@ -560,7 +560,7 @@ do_build(const char *const *argv)
|
@@ -598,7 +598,7 @@ do_build(const char *const *argv)
|
||||||
|
m_dup2(p2[1],1); close(p2[0]); close(p2[1]);
|
||||||
if (chdir(dir))
|
if (chdir(dir))
|
||||||
ohshite(_("failed to chdir to `%.255s'"), dir);
|
ohshite(_("failed to chdir to `%.255s'"), dir);
|
||||||
execlp(TAR, "tar", "-cf", "-", "--format=gnu", "--null", "--no-unquote",
|
- execlp(TAR, "tar", "-cf", "-", "--format=gnu", "--null", "-T", "-", "--no-recursion", NULL);
|
||||||
- "-T", "-", "--no-recursion", NULL);
|
+ execlp(TAR, "tar", "-cf", "-", "--format=gnu", "--null", "--no-recursion", "-T", "-", NULL);
|
||||||
+ "--no-recursion", "-T", "-", NULL);
|
|
||||||
ohshite(_("unable to execute %s (%s)"), "tar -cf", TAR);
|
ohshite(_("unable to execute %s (%s)"), "tar -cf", TAR);
|
||||||
}
|
}
|
||||||
close(p1[0]);
|
close(p1[0]);
|
||||||
|
|||||||
Reference in New Issue
Block a user