generic-poky/meta/recipes-devtools/dpkg
Robert Yang 39b5d509a3 dpkg 1.15.8.7: bad interpreter when long tmpdir
When use PACKAGE_CLASSES = "package_deb", and the length of tmpdir is
longer than 177, the error occurs during the image generation:

/very/long/path/totmp/sysroots/x86_64-linux/usr/bin/dpkg-scanpackages:
bad interpreter: No such file or directory

The interpreter is perl, and it does exist, this is because the first
line:

  #!/very/long/path/to/perl

in the script can't be very long.

Create a wrapper for it would fix the problem.

[YOCTO #2640]

(From OE-Core rev: 7d3281be18567207de8ce2cabce03957bf2cbca8)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-05 16:01:32 +01:00
..
dpkg dpkg-native: fix deb-based rootfs construction failure on Fedora 16 2012-04-26 10:05:13 +01:00
run-postinsts run-postinsts: fix opkg data path 2012-03-13 11:45:08 +00:00
dpkg.inc dpkg 1.15.8.7: bad interpreter when long tmpdir 2012-07-05 16:01:32 +01:00
dpkg_1.15.8.7.bb dpkg-native: fix deb-based rootfs construction failure on Fedora 16 2012-04-26 10:05:13 +01:00
run-postinsts_1.0.bb run-postinsts: fix opkg data path 2012-03-13 11:45:08 +00:00