diff options
Diffstat (limited to 'meta/packages/dpkg/files/nochroot.patch')
| -rw-r--r-- | meta/packages/dpkg/files/nochroot.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/dpkg/files/nochroot.patch b/meta/packages/dpkg/files/nochroot.patch new file mode 100644 index 0000000000..3a8beaebbf --- /dev/null +++ b/meta/packages/dpkg/files/nochroot.patch | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | --- | ||
| 2 | src/help.c | 2 ++ | ||
| 3 | 1 file changed, 2 insertions(+) | ||
| 4 | |||
| 5 | --- dpkg-1.13.22.orig/src/help.c | ||
| 6 | +++ dpkg-1.13.22/src/help.c | ||
| 7 | @@ -175,9 +175,11 @@ static const char* preexecscript(const c | ||
| 8 | */ | ||
| 9 | size_t instdirl; | ||
| 10 | |||
| 11 | +#if 0 | ||
| 12 | if (*instdir) { | ||
| 13 | if (chroot(instdir)) ohshite(_("failed to chroot to `%.250s'"),instdir); | ||
| 14 | } | ||
| 15 | +#endif | ||
| 16 | if (f_debug & dbg_scripts) { | ||
| 17 | fprintf(stderr,"D0%05o: fork/exec %s (",dbg_scripts,path); | ||
| 18 | while (*++argv) fprintf(stderr," %s",*argv); | ||
