Bug 11102

Summary: Cannot (devtool) add a kernel recipe inside the eSDK
Product: [Yocto Project Subprojects] eSDK Reporter: Leonardo Sandoval Gonzalez <leonardo.sandoval.gonzalez>
Component: eSDKAssignee: brian avery <brian.avery>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: brian.avery, juan.m.cruz.alcaraz
Version: 2.3   
Target Milestone: 2.4 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 10415    

Description Leonardo Sandoval Gonzalez 2017-02-23 17:44:37 UTC
Inside the eSDK, when trying to create a kernel recipe, I am getting this error

devtool add ly2 git://git.yoctoproject.org/linux-yocto
INFO: BASEPATH /home/lsandov1/poky_sdk/sysroots/x86_64-pokysdk-linux/usr/bin 
NOTE: Fetching git://git.yoctoproject.org/linux-yocto...
--2017-02-23 17:29:07--  http://yctb01.zpn.intel.com/data/sources/git2_git.yoctoproject.org.linux-yocto.tar.gz
Resolving yctb01.zpn.intel.com... 10.219.106.35
Connecting to yctb01.zpn.intel.com|10.219.106.35|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-02-23 17:29:07 ERROR 404: Not Found.

--2017-02-23 17:29:07--  http://downloads.yoctoproject.org/mirror/sources/git2_git.yoctoproject.org.linux-yocto.tar.gz
Resolving proxy.fm.intel.com... 10.1.192.48
Connecting to proxy.fm.intel.com|10.1.192.48|:911... connected.
Proxy request sent, awaiting response... 404 Not Found
2017-02-23 17:29:07 ERROR 404: Not Found.

Cloning into bare repository '/home/lsandov1/poky_sdk/downloads/git2/git.yoctoproject.org.linux-yocto'...
remote: Counting objects: 4913441, done.        
remote: Compressing objects: 100% (742594/742594), done.        

Receiving objects: 100% (4913441/4913441), 1.04 GiB | 3.67 MiB/s, done.
remote: Total 4913441 (delta 4142126), reused 4908154 (delta 4137701)        
Resolving deltas: 100% (4142126/4142126), done.
Traceback (most recent call last):
  File "/home/lsandov1/poky_sdk/layers/poky/scripts/recipetool", line 121, in <module>
    ret = main()
  File "/home/lsandov1/poky_sdk/layers/poky/scripts/recipetool", line 110, in main
    ret = args.func(args)
  File "/home/lsandov1/poky_sdk/layers/poky/scripts/lib/recipetool/create.py", line 626, in create_recipe
    handler.process(srctree_use, classes, lines_before, lines_after, handled, extravalues)
  File "/home/lsandov1/poky_sdk/layers/poky/scripts/lib/recipetool/create_kernel.py", line 91, in process
    with open(template, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/lsandov1/poky_sdk/layers/poky/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb'
ERROR: Command '. /home/lsandov1/poky_sdk/layers/poky/oe-init-build-env /home/lsandov1/poky_sdk > /dev/null && script -e -q -c "recipetool --color=always create --devtool -o /tmp/devtoolj3xv_gaz 'git://git.yoctoproject.org/linux-yocto'  -x /home/lsandov1/poky_sdk/workspace/sources/devtoolsrckf7ejuqm -N ly2" /dev/null' failed
lsandov1@lsandov1-mobl2:~$ 


Apparently, the meta-skeleton layer is not created on the eSDK setup.
Comment 1 brian avery 2017-03-22 20:30:13 UTC
grabbing so I can build knowledge :)
Comment 2 brian avery 2017-07-30 13:31:18 UTC
Moving to M3
Comment 3 Juan Manuel Cruz Alcaraz 2017-08-17 01:39:16 UTC
Please review this commit: https://patchwork.openembedded.org/patch/142975/