On Fri, Dec 1, 2017 at 1:22 PM Matthew McClintock <msm-...@mcclintock.net> wrote:
> On Fri, Dec 1, 2017 at 2:13 PM, Khem Raj <raj.k...@gmail.com> wrote: > > On Fri, Dec 1, 2017 at 11:30 AM, Andre McCurdy <armccu...@gmail.com> > wrote: > >> On Fri, Dec 1, 2017 at 3:07 AM, Burton, Ross <ross.bur...@intel.com> > wrote: > >>> Extend lnr to have a --force option? > >> > >> Is there ever a case where we want lnr to fail if the target already > exists? > >> > >> There are plenty of existing examples in oe-core where rm is run > >> before lnr (and in the cases where it's not, it's perhaps just a bug > >> or an oversight). > >> > >> So I think either leave the v1 patch as-is and run rm before lnr in > >> musl do_install as we already do elsewhere, or update lnr so that it > >> unconditionally removes any pre-existing target? > > > > I like Ross'es suggestion to modify lnr implementation as an > > independent patch and > > rebase your patch on top. Maybe a cleanup later to remove all rm cmds > > that are used > > before lnr > > Do we keep the lnr filename? Change to ln-python and add -r and -f? > > The above question wasn't answered. Should we just always force it and > emit a WARNING if it's being replaced? It’s should force replace it yes a note about replacing an existing file if any is fine > > > -M >
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core