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