[oe] Deploy binaries not compiled for target / PACKAGE_STRIP = "no" does not work?
Paul Eggleton
paul.eggleton at linux.intel.com
Mon Feb 20 12:12:11 UTC 2012
On Monday 20 February 2012 12:05:48 Robert Budde wrote:
> I am trying to write a recipe for packaging "webmin".
Ah, well the good news is I did this already :) :
http://git.yoctoproject.org/cgit/cgit.cgi/meta-baryon/tree/recipes-
extended/webmin/
There might be some tweaking required as we turned off a few things and applied
some minor customisations, but it builds and works.
> The web-interface for
> system administration is written entirely in PERL, therefore it "just" has
> to be copied to the right directory (and some conf-files have to be
> generated). Right now the recipe should download the right archive and copy
> the files to the right directory. As the archive contains precompiled
> binaries the "strip"-operations in do_package() fail!? I tried to get rid of
> it by 'PACKAGE_STRIP = "no"', but that does not work.
To turn off stripping you would do INHIBIT_PACKAGE_STRIP ="1", however for
something like this where there is nothing architecture-specific you would do
"inherit allarch" which does this for you among other things. However, the
precompiled binaries the errors refer to are actually not needed and the
recipes I link to above just delete them before packaging.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-devel
mailing list