diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2013-06-26 12:38:46 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-06-27 09:55:57 -0700 |
commit | 7cfab2c895bf4daa7716fb7509e367bf74f016e4 (patch) | |
tree | 2e8edfc740a3cf84f886aaf7fa174113e16d5a28 /scripts/gen-site-config | |
parent | f02258b304dc4544567601a1502080f3581c00fa (diff) | |
download | openembedded-core-7cfab2c895bf4daa7716fb7509e367bf74f016e4.tar.gz openembedded-core-7cfab2c895bf4daa7716fb7509e367bf74f016e4.tar.bz2 openembedded-core-7cfab2c895bf4daa7716fb7509e367bf74f016e4.zip |
adt_installer_internal: fix perl modules relocated failed on older distributions
The perl module for automake has an embedded path in it, this needs
to be relocated.
Older versions of 'file' do not return the "ASCII" text in the output for
a perl module file. Hence, the regex pattern didn't match perl module and
they were not getting relocated at all on older distributions.
1) On CentOS release 6.4, the version of file is 5.04
$ file /usr/lib/perl5/Config_heavy.pl
$ /usr/lib/perl5/Config_heavy.pl: Perl5 module source text
2) On Ubuntu 13.04, the version of file is 5.11
$ file /usr/lib/perl/5.14/Config_heavy.pl
$ /usr/lib/perl/5.14/Config_heavy.pl: C source, ASCII text, with very long lines
[YOCTO #4550]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts/gen-site-config')
0 files changed, 0 insertions, 0 deletions