summaryrefslogtreecommitdiff
path: root/packages/dpkg/files/nochroot.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-08-30 16:50:40 +0000
committerKoen Kooi <koen@openembedded.org>2007-08-30 16:50:40 +0000
commit6334fe788a22161d86fc36ff165d2beedc7fa5bc (patch)
tree90caea121b315305fd0dd625dfac8901daa4e70a /packages/dpkg/files/nochroot.patch
parente8616c7469819ac7a8133c6b54549fd908977527 (diff)
dpkg: merge fixes from poky, update to 1.3.25
Diffstat (limited to 'packages/dpkg/files/nochroot.patch')
-rw-r--r--packages/dpkg/files/nochroot.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/dpkg/files/nochroot.patch b/packages/dpkg/files/nochroot.patch
new file mode 100644
index 0000000000..3a8beaebbf
--- /dev/null
+++ b/packages/dpkg/files/nochroot.patch
@@ -0,0 +1,18 @@
+---
+ src/help.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- dpkg-1.13.22.orig/src/help.c
++++ dpkg-1.13.22/src/help.c
+@@ -175,9 +175,11 @@ static const char* preexecscript(const c
+ */
+ size_t instdirl;
+
++#if 0
+ if (*instdir) {
+ if (chroot(instdir)) ohshite(_("failed to chroot to `%.250s'"),instdir);
+ }
++#endif
+ if (f_debug & dbg_scripts) {
+ fprintf(stderr,"D0%05o: fork/exec %s (",dbg_scripts,path);
+ while (*++argv) fprintf(stderr," %s",*argv);