On 10/03, Burton, Ross wrote: > On 3 October 2016 at 01:43, Stephano Cetola <stephano.cet...@linux.intel.com > > wrote: > > > +# If the user hasn't set up their name/email, set some defaults > > +check_git_config() { > > + if [ -z "$1" ]; then > > + name="OE" > > + else > > + name="$1" > > + fi > > + if ! git config user.email > /dev/null ; then > > + git config --local user.email "${name}@${DISTRO}" > > + fi > > + if ! git config user.name > /dev/null ; then > > + git config --local user.name "${name}" > > + fi > > +} > > > > Instead of embedding this into sanity.bbclass, could it just go into > meta/lib/oe/ somewhere? > > Ross
Yeah, I saw /meta/lib/oe/patch when Paul mentioned it. It looks like things should be moving in this direction log-term anyhow. I could move this to patch.py for now, and then submit a bug to move functionality as well, if that's the direction we'd want to go. Cheers, Stephano -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core