[OE-core] [PATCH v2] update-alternatives: Allow using relative symlinks

Peter Kjellerstedt peter.kjellerstedt at axis.com
Wed Nov 14 14:30:49 UTC 2018


> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org <openembedded-
> core-bounces at lists.openembedded.org> On Behalf Of Böszörményi Zoltán
> via Openembedded-core
> Sent: den 14 november 2018 14:22
> To: openembedded-core at lists.openembedded.org
> Subject: [OE-core] [PATCH v2] update-alternatives: Allow using relative
> symlinks
> 
> The alternative links are invalid during do_rootfs.
> 
> Add a new ALTERNATIVE_TARGET_RELATIVE family of variables to
> conditionally make these links valid.
> 
> v2: Fix the case when the link source and target are not in
>     the same directory.

The v2 information should go below the --- as it doesn't relate to the 
commit as such, but rather to the review process.

> Signed-off-by: Böszörményi Zoltán <zboszor at pr.hu>
> ---
>  meta/classes/update-alternatives.bbclass | 24 ++++++++++++++++++++++--
>  1 file changed, 22 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass
> index aa01058cf9..540bec94e2 100644
> --- a/meta/classes/update-alternatives.bbclass
> +++ b/meta/classes/update-alternatives.bbclass

//Peter



More information about the Openembedded-core mailing list