devtool клонирует неправильный репозиторий для разработки рецептов - PullRequest
0 голосов
/ 02 июля 2019

Я использую 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 репозитарию.

Я не понимаю, почему это происходит.

...