Bug 10148 - extsdk container: devtool modify fails due to missing git config
Summary: extsdk container: devtool modify fails due to missing git config
Status: RESOLVED DUPLICATE of bug 8703
Alias: None
Product: CROPS
Classification: Yocto Project Subprojects
Component: crops-default (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.2 M4
Assignee: Randy Witt
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-08-15 21:41 UTC by Randy Witt
Modified: 2016-09-20 22:02 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Witt 2016-08-15 21:41:21 UTC
1. Run "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"

2. Once at the prompt run "devtool modify quilt-native"

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 "/workdir/sysroots/x86_64-pokysdk-linux/usr/bin/devtool", line 342, in <module>
    ret = main()
  File "/workdir/sysroots/x86_64-pokysdk-linux/usr/bin/devtool", line 329, in main
    ret = args.func(args, config, basepath, workspace)
  File "/workdir/layers/build/scripts/lib/devtool/standard.py", line 745, in modify
    initial_rev = _extract_source(srctree, False, args.branch, False, rd)
  File "/workdir/layers/build/scripts/lib/devtool/standard.py", line 586, in _extract_source
    setup_git_repo(srcsubdir, crd.getVar('PV', True), devbranch)
  File "/workdir/layers/build/scripts/lib/devtool/__init__.py", line 216, in setup_git_repo
    bb.process.run(commit_cmd, cwd=repodir)
  File "/workdir/layers/build/bitbake/lib/bb/process.py", line 155, in run
    raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
ExecutionError: Execution of 'git commit -q -m "Initial commit from upstream at version 0.64"' failed with exit code 128:

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

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

fatal: empty ident name (for <sdkuser@166be09787a1.(none)>) not allowed
Comment 1 Randy Witt 2016-09-20 22:02:31 UTC
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 ***