Re: [yocto] Pointless unlink-link in strip_execs?

2019-09-09 Thread Richard Purdie
On Fri, 2019-09-06 at 11:52 -0700, Kaz Kylheku wrote: > Hi, > > I'm looking at meta/lib/oe/package.py, function strip_execs, under > Yocto > 2.5. > > It has this tidbit: > > if s.st_ino in inodes: > os.unlink(file) # <--- > of >

[yocto] Pointless unlink-link in strip_execs?

2019-09-09 Thread Kaz Kylheku
Hi, I'm looking at meta/lib/oe/package.py, function strip_execs, under Yocto 2.5. It has this tidbit: if s.st_ino in inodes: os.unlink(file) # <--- of interest os.link(inodes[s.st_ino], file) #