<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10148</bug_id>
          
          <creation_ts>2016-08-15 21:41:21 +0000</creation_ts>
          <short_desc>extsdk container: devtool modify fails due to missing git config</short_desc>
          <delta_ts>2016-09-20 22:02:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>CROPS</product>
          <component>crops-default</component>
          <version>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>8703</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Randy Witt">randy.e.witt</reporter>
          <assigned_to name="Randy Witt">randy.e.witt</assigned_to>
          <cc>brian.avery</cc>
    
    <cc>sgw</cc>
    
    <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65206</commentid>
    <comment_count>0</comment_count>
    <who name="Randy Witt">randy.e.witt</who>
    <bug_when>2016-08-15 21:41:21 +0000</bug_when>
    <thetext>1. Run &quot;docker run -it -v /var/tmp/workdir:/workdir --rm=true deleteme:extsdk --url //downloads.yoctoproject.org/releases/yocto/yocto-2.1.1/toolchain/x86_64/poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-ext-2.1.1.sh&quot;

2. Once at the prompt run &quot;devtool modify quilt-native&quot;

3. It will fail with an error like the one below:
Parsing recipes..done.
NOTE: Fetching quilt-native...
NOTE: Unpacking...
Traceback (most recent call last):
  File &quot;/workdir/sysroots/x86_64-pokysdk-linux/usr/bin/devtool&quot;, line 342, in &lt;module&gt;
    ret = main()
  File &quot;/workdir/sysroots/x86_64-pokysdk-linux/usr/bin/devtool&quot;, line 329, in main
    ret = args.func(args, config, basepath, workspace)
  File &quot;/workdir/layers/build/scripts/lib/devtool/standard.py&quot;, line 745, in modify
    initial_rev = _extract_source(srctree, False, args.branch, False, rd)
  File &quot;/workdir/layers/build/scripts/lib/devtool/standard.py&quot;, line 586, in _extract_source
    setup_git_repo(srcsubdir, crd.getVar(&apos;PV&apos;, True), devbranch)
  File &quot;/workdir/layers/build/scripts/lib/devtool/__init__.py&quot;, line 216, in setup_git_repo
    bb.process.run(commit_cmd, cwd=repodir)
  File &quot;/workdir/layers/build/bitbake/lib/bb/process.py&quot;, line 155, in run
    raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
ExecutionError: Execution of &apos;git commit -q -m &quot;Initial commit from upstream at version 0.64&quot;&apos; failed with exit code 128:

*** Please tell me who you are.

Run

  git config --global user.email &quot;you@example.com&quot;
  git config --global user.name &quot;Your Name&quot;

to set your account&apos;s default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for &lt;sdkuser@166be09787a1.(none)&gt;) not allowed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66386</commentid>
    <comment_count>1</comment_count>
    <who name="Randy Witt">randy.e.witt</who>
    <bug_when>2016-09-20 22:02:31 +0000</bug_when>
    <thetext>Although not in the container context, the cause of 8703 is the same as for this bug.

*** This bug has been marked as a duplicate of bug 8703 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>