summaryrefslogtreecommitdiff
path: root/packages/dpkg/files/nochroot.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-08-30 22:36:16 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-08-30 22:36:16 +0000
commit295f0eb481ce73f976bc46031fa33551375d77cf (patch)
tree05128354e9e08c744377763a48f95398c5dfa8fd /packages/dpkg/files/nochroot.patch
parent328141d34f35516a988d7525f704064c6c55737d (diff)
parentd7d57f3e05feab6e49a2264f6e81902c28682049 (diff)
merge of '16ddc63cc58ab4f6ac83a2e1d653c740ffdd6f87'
and '76b3eaaf78af7bef8ae185d70ad72a4c8f9a3af7'
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);