[oe] [meta-webserver][PATCH 1/1] webmin: drop allarch

Paul Eggleton paul.eggleton at linux.intel.com
Wed Jun 25 07:45:55 UTC 2014


On Tuesday 24 June 2014 09:54:12 Anders Darander wrote:
> * runtime dependencies are TUNE_PKGARCH causing do_package_write_*
>   task to have different signature for MACHINEs with different
>   TUNE_PKGARCH
> 
> Signed-off-by: Anders Darander <anders at chargestorm.se>
> ---
>  meta-webserver/recipes-webadmin/webmin/webmin_1.620.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-webserver/recipes-webadmin/webmin/webmin_1.620.bb
> b/meta-webserver/recipes-webadmin/webmin/webmin_1.620.bb index
> 7eb1d63..0f8781f 100644
> --- a/meta-webserver/recipes-webadmin/webmin/webmin_1.620.bb
> +++ b/meta-webserver/recipes-webadmin/webmin/webmin_1.620.bb
> @@ -20,7 +20,7 @@ SRC_URI =
> "${SOURCEFORGE_MIRROR}/webadmin/webmin-${PV}.tar.gz \ SRC_URI[md5sum] =
> "e93bc5057a5b7d7e31ecb2bb228d7044"
>  SRC_URI[sha256sum] =
> "3d36153406d8e5d3dcaeadba34dfb5cdbc4060b75c38339174ac97b2277f284b"
> 
> -inherit allarch perlnative update-rc.d
> +inherit perlnative update-rc.d
> 
>  do_configure() {
>      # Remove binaries and plugins for other platforms

So apart from me being reticent to make this change at all (for reasons that 
we've discussed before), there is another issue - allarch.bbclass does more 
than just setting PACKAGE_ARCH, it also disables certain other functionality 
such as debug symbol splitting which is superfluous for these kinds of recipes; 
in my testing when I originally wrote the webmin recipe this significantly 
reduced the time required to build the recipe. We can't just drop this inherit 
without regard to that. (I'm sure the same applies elsewhere, it's just that 
the size of webmin makes the impact significant.)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-devel mailing list