]> code.ossystems Code Review - openembedded-core.git/commit
autogen-native: fix POSIX_SHELL and perl
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 6 Apr 2017 10:05:55 +0000 (03:05 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Apr 2017 21:48:05 +0000 (22:48 +0100)
commit055838283349530e6f60f4169d9190aa5b59b190
treeabd4637824b1341c940d233aacc85f9bbd139f2e
parent123df94f511cbaad088b25bbbae1f1137f957c7e
autogen-native: fix POSIX_SHELL and perl

The shebang's length is usually 128 as defined in /usr/include/linux/binfmts.h:
  #define BINPRM_BUF_SIZE 128

So there would be errors when /path/to/hosttools/perl is longer than 128.

This patch fixes the problem when POSIX_SHELL and perl are used as the interpreters.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/autogen/autogen-native_5.18.12.bb
meta/recipes-devtools/autogen/autogen/0002-autoopts-mk-tpl-config.sh-fix-perl-path.patch [new file with mode: 0644]