[OE-core] [eSDK] Question regarding excluding packages from eSDK

Łukasz Majewski l.majewski at majess.pl
Wed Sep 20 08:22:35 UTC 2017


Dear All,

I would like to "exclude" from eSDK package build with its own 
meta-layer (swupdate).

Unfortunately, some parts of it are necessary to create core-image-XXX 
image (I do reuse its initramfs) binaries.


Since the swupdate is not part of core-image-XXX, I would like to know 
if it is possible to not include it to extended SDK?

When included it causes errors in the *.sh installation script 
(including its dependencies):


ERROR: Task json-c.do_populate_sysroot attempted to execute unexpectedly 
and should have been setscened
ERROR: Task libconfig.do_populate_sysroot attempted to execute 
unexpectedly and should have been setscened
ERROR: Task swupdate.do_patch attempted to execute unexpectedly
ERROR: Task lua.do_populate_sysroot attempted to execute unexpectedly 
and should have been setscened
ERROR: Task swupdate.do_prepare_recipe_sysroot attempted to execute 
unexpectedly
ERROR: Task swupdate.do_configure attempted to execute unexpectedly
ERROR: Task swupdate.do_compile attempted to execute unexpectedly
ERROR: Task swupdate.do_install attempted to execute unexpectedly
ERROR: Task swupdate.do_package attempted to execute unexpectedly and 
should have been setscened
ERROR: Task swupdate.do_packagedata attempted to execute unexpectedly 
and should have been setscened
ERROR: Task json-c.do_package_write_rpm attempted to execute 
unexpectedly and should have been setscened





I've been trying to use:
SDK_INHERIT_BLACKLIST_append = " swupdate"

(but according to doc [1] it is meant to work with classes, not recipes)


Also SDK_LOCAL_CONF_BLACKLIST seems to be only meant to unset/modify 
some variables.



One possible solution would be to create separate recipe for bundling 
factory images (some custom SD card layout). This recipe would not be 
part of core-image-XXX and hence dependency on swupdate would not affect it.

Is this the recommended approach ?



Note:
-----
[1] 
http://www.yoctoproject.org/docs/2.3/sdk-manual/sdk-manual.html#sdk-extensible

-- 
Best regards.

Łukasz Majewski



More information about the Openembedded-core mailing list