[OE-core] [PATCH 03/33] dpkg-native: hardcode SYSCONFDIR to /etc in update-alternatives
Andreas Oberritter
obi at opendreambox.org
Tue Dec 6 16:08:16 UTC 2016
On 06.12.2016 16:39, Burton, Ross wrote:
>
> On 6 December 2016 at 11:49, Andreas Oberritter <obi at opendreambox.org
> <mailto:obi at opendreambox.org>> wrote:
>
> + sed -i -e 's|SYSCONFDIR|"/etc"|' ${S}/utils/update-alternatives.c
>
>
> Hardcoding /etc is bad, can't you just remove the native sysroot prefix
> from $sysconfdir?
I guess ${sysconfdir_native} should work, unless someone overrides
STAGING_ETCDIR_NATIVE. Would this be ok?
Regards,
Andreas
More information about the Openembedded-core
mailing list