[OE-core] [PATCH 03/33] dpkg-native: hardcode SYSCONFDIR to /etc in update-alternatives

Burton, Ross ross.burton at intel.com
Tue Dec 6 16:12:05 UTC 2016


On 6 December 2016 at 16:08, Andreas Oberritter <obi at opendreambox.org>
wrote:

> I guess ${sysconfdir_native} should work, unless someone overrides
> STAGING_ETCDIR_NATIVE. Would this be ok?
>

If the recipe inherits native then the class reassigns:

sysconfdir = "${STAGING_ETCDIR_NATIVE}"

So you'll need to take sysconfdir, and strip off the staging directory.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161206/18926c01/attachment-0002.html>


More information about the Openembedded-core mailing list