aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/dpkg/files/nochroot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dpkg/files/nochroot.patch')
-rw-r--r--recipes/dpkg/files/nochroot.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/dpkg/files/nochroot.patch b/recipes/dpkg/files/nochroot.patch
new file mode 100644
index 0000000000..3a8beaebbf
--- /dev/null
+++ b/recipes/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);