update-rc.d-native-0.8-r0 do_unpack:Bitbake Fetcher 错误:yocto 项目上出现 UnpackError

问题描述 投票:0回答:1

我的 Yocto 项目版本

“4.0.15”

构建时遇到错误

ERROR: update-rc.d-native-0.8-r0 do_unpack: Bitbake Fetcher Error: UnpackError('No up to date source found: clone directory not available or not up to date: /build/downloads/git2/git.yoctoproject.org.update-rc.d; shallow clone not enabled', 'git://git.yoctoproject.org/update-rc.d;branch=master')
ERROR: Logfile of failure stored in: /build/tmp/work/x86_64-linux/update-rc.d-native/0.8-r0/temp/log.do_unpack.11298

\src\狭小\元 ecipes-core\update-rc.d\update-rc.d_0.8.bb

SUMMARY = "manage symlinks in /etc/rcN.d"
HOMEPAGE = "http://github.com/philb/update-rc.d/"
DESCRIPTION = "update-rc.d is a utility that allows the management of symlinks to the initscripts in the /etc/rcN.d directory structure."
SECTION = "base"

LICENSE = "GPL-2.0-or-later"


SRC_URI = "git://git.yoctoproject.org/update-rc.d;branch=master"
SRCREV = "8636cf478d426b568c1be11dbd9346f67e03adac"

UPSTREAM_CHECK_COMMITS = "1"

S = "${WORKDIR}/git"

inherit allarch

do_compile() {
}

do_install() {
    install -d ${D}${sbindir}
    install -m 0755 ${S}/update-rc.d ${D}${sbindir}/update-rc.d
}

BBCLASSEXTEND = "native nativesdk"

我确实检查了我的 bblayers.conf

  /aiot-yocto/src/poky/meta \
  /aiot-yocto/src/poky/meta-poky \
  /aiot-yocto/src/poky/meta-yocto-bsp \

看起来 .bb 文件和 bblayers.conf 都已正确设置 .有人知道为什么会发生错误吗?

yocto yocto-recipe yocto-layer
1个回答
0
投票

不知何故,我只是删除整个层并重建它,不再显示任何错误,不知道为什么会发生此错误

© www.soinside.com 2019 - 2024. All rights reserved.