Gary_Vin
Gary_Vin

Reputation: 11

Use "devtool modify" to modify openbmc code

I downloaded and tried to use devtool to get openbmc source code in ubuntu.

1.clone openbmc

git clone https://github.com/openbmc/openbmc

2.build image

export TEMPLATECONF=meta-ibm/meta-romulus/conf 
. openbmc-env

3.bitbake obmc-phosphor-image

4.build successful

5.try to get obmc-flash-bmc code

devtool modify obmc-flash-bmc

6.get error message

ERROR: Nothing PROVIDES 'python' (but /xxxx/github-openbmc/meta-phosphor/recipes-phosphor/flash/obmc-flash-bmc_git.bb DEPENDS on or otherwise requires it). Close matches:
  python3
  python3-py
  python3-sh
ERROR: Extracting source for obmc-flash-bmc failed

I have installed python3

python3 --version
Python 3.6.9

how to solve this problem?

Thanks.

Upvotes: 0

Views: 1069

Answers (1)

Oleksandr Kravchuk
Oleksandr Kravchuk

Reputation: 6327

Add the following to your conf/bblayers.conf file:

BBLAYERS ?= " \
    .../meta-openembedded/meta-python/

Upvotes: 0

Related Questions