[yocto] distutils break my shebang, what to do?
Daniel.
danielhilst at gmail.com
Fri Dec 16 09:29:46 PST 2016
Well this is what I'm already doing, for target, nativesdk and native...
do_install_append() {
sed '1c\
#!/usr/bin/env python' -i ${D}${bindir}/myscript
}
Should I use do_install_class-nativesdk_append instead?
Regards,
2016-12-16 15:04 GMT-02:00 Khem Raj <raj.khem at gmail.com>:
>
>> On Dec 15, 2016, at 5:49 PM, Daniel. <danielhilst at gmail.com> wrote:
>>
>> Hi,
>>
>> I've been trying to install cxxtest to nativesdk. After done I went to
>> run`cxxtestgen` and got a "bad interpreter" error from bash. I look at
>> the script and there was "#! python" at first line.
>>
>> I know that this is something that distutils does. I also know that
>> SDK ships its own python interpreter. So what is the right way to
>> approach this problem?
>
> sed it out to right location when doing nativesdk build.
>
>>
>> Regards,
>>
>> --
>> "Do or do not. There is no try"
>> Yoda Master
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
--
"Do or do not. There is no try"
Yoda Master
More information about the yocto
mailing list