[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: Re: [OE-core] [PATCH] musl: prevent errors if do_install is run more than once
From: Andre McCurdy <armccurdy () gmail ! com>
Date: 2017-11-30 22:59:21
Message-ID: CAJ86T=VX0up-q-CSOafSno14+frTM3NxzwngffCkggMOTd6vCA () mail ! gmail ! com
[Download RAW message or body]
On Thu, Nov 30, 2017 at 1:51 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Thu, Nov 30, 2017 at 12:20 PM, Andre McCurdy <armccurdy@gmail.com> wrote:
>> Signed-off-by: Andre McCurdy <armccurdy@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 ?
Apparently not:
$ touch foo
$ lnr xxx foo
Traceback (most recent call last):
File "/.../openembedded-core/scripts/lnr", line 21, in <module>
os.symlink(target, linkname)
FileExistsError: [Errno 17] File exists: 'xxx' -> 'foo'
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic