[OE-core] [PATCH] musl: prevent errors if do_install is run more than once
Khem Raj
raj.khem at gmail.com
Thu Nov 30 21:51:32 UTC 2017
On Thu, Nov 30, 2017 at 12:20 PM, Andre McCurdy <armccurdy at gmail.com> wrote:
> Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
> ---
> meta/recipes-core/musl/musl_git.bb | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb
> index 932c9a2..db26b4f 100644
> --- a/meta/recipes-core/musl/musl_git.bb
> +++ b/meta/recipes-core/musl/musl_git.bb
> @@ -57,10 +57,11 @@ do_install() {
> oe_runmake install DESTDIR='${D}'
>
> install -d ${D}${bindir}
> + rm -f ${D}${bindir}/ldd
Doesn't lnr take care of removing old file ?
> lnr ${D}${libdir}/libc.so ${D}${bindir}/ldd
> for l in crypt dl m pthread resolv rt util xnet
> do
> - ln -s libc.so ${D}${libdir}/lib$l.so
> + ln -sf libc.so ${D}${libdir}/lib$l.so
this is ok
> done
> }
>
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list