diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-13 23:25:08 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-13 23:25:08 +0000 |
commit | 07046f300bbd6048fce7abf5390ccf417f986af0 (patch) | |
tree | bddd0bae55e127418180af5f5c3dfe5fad474c17 /meta/packages/dpkg/dpkg/nochroot.patch | |
parent | 5c0a06b85f07ea903d92eea77a1665799d476968 (diff) | |
download | poky-07046f300bbd6048fce7abf5390ccf417f986af0.tar.gz |
dpkg: Convert to BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/dpkg/dpkg/nochroot.patch')
-rw-r--r-- | meta/packages/dpkg/dpkg/nochroot.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/dpkg/dpkg/nochroot.patch b/meta/packages/dpkg/dpkg/nochroot.patch new file mode 100644 index 0000000000..3a8beaebbf --- /dev/null +++ b/meta/packages/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); | ||