devtool克隆错误的存储库以进行配方开发

时间:2019-07-02 15:53:22

标签: embedded-linux yocto

我正在使用krogoth,最近我一直在观察每次执行以下操作:

  1. 添加食谱

    devtool add buttonflux https://github.com/shantanoo-desai/buttonflux/archive/v1.0.tar.gz
    

我得到了我以前处理过的食谱。

这是上述存储库的recipe-tool生成的配方:

# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be fully functional.
# (Feel free to remove these comments when editing.)
#
# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
# your responsibility to verify that the values are complete and correct.
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7e8b8d2e60aca564edd8578b5f1f4951"

HOMEPAGE = "https://github.com/shantanoo-desai/bnoflux"
SUMMARY = "Extract IMU Values from BNO055 and store them in InfluxDB via UDP"

SRC_URI = "https://github.com/shantanoo-desai/buttonflux/archive/v${PV}.tar.gz"
SRC_URI[md5sum] = "1c897adf29ed058315d23d3a79f9c532"
SRC_URI[sha256sum] = "1c5611a579ee169a611fc5b401eb1aa6ad8cb4c168722df0dba7d61bb8fd2d2b"

S = "${WORKDIR}/bnoflux-${PV}"

inherit setuptools

# WARNING: the following rdepends are from setuptools install_requires. These
# upstream names may not correspond exactly to bitbake package names.
RDEPENDS_${PN} += "python-influxdb"

# WARNING: the following rdepends are determined through basic analysis of the
# python sources, and might not be 100% accurate.
RDEPENDS_${PN} += "python-argparse python-core python-logging"

# WARNING: We were unable to map the following python package/module
# dependencies to the bitbake packages which include them:
#    influxdb.client
#    smbus

值得注意的是HOMEPAGE是假的,SRC_URI哈希也是。 (我想使用buttonflux而不是我以前使用过的食谱bnoflux

我尝试重置配方,但是这个问题仍然存在。

我的workspace还会克隆错误的存储库:

workspace/
├── appends
│   └── buttonflux_1.0.bbappend
├── attic
├── conf
│   └── layer.conf
├── README
├── recipes
│   └── buttonflux
│       └── buttonflux_1.0.bb
└── sources
    └── buttonflux
        ├── bin
        │   ├── bnoflux
        │   └── calibrate
        ├── bnoflux
        │   ├── BNO055.py
        │   ├── bnoflux.py
        │   ├── calibrate.py
        │   └── __init__.py
        ├── LICENSE
        ├── MANIFEST.in
        ├── README.md
        └── setup.py

即使source被称为buttonflux,其中的代码也属于bnoflux存储库。

我不明白为什么会这样。

0 个答案:

没有答案