openeuler embedded构建镜像并部署到ok3588上面的问题

尝试按照在线文档bitbake openeuler-image,刚开始就会报错


注释掉src/yocto-meta-rockchip/classes/local-git.bbclass第11行

Copyright (C) 2021, Rockchip Electronics Co., Ltd

Released under the MIT license (see COPYING.MIT for the terms)

python () {
from bb.fetch2 import git
from bb.fetch2 import Fetch
from bb.fetch2 import runfetchcmd
import shlex

git = git.Git()

#注释掉的 bb.fetch2.get_srcrev(d)
fetcher = Fetch(d.getVar(‘SRC_URI’).split(), d)
urldata = fetcher.ud
for u in urldata:
if not urldata[u].method.supports_srcrev():
continue

    ud = urldata[u]
    if ud.proto.lower() != 'file' or ud.type != 'git':
        continue

    if not os.path.exists(ud.clonedir):
        continue

    repourl = git._get_repo_url(ud)

    # Try an early full fetching
    fetch_cmd = "LANG=C %s fetch %s" % (ud.basecmd, shlex.quote(repourl))
    try:
        runfetchcmd(fetch_cmd, d, workdir=ud.clonedir)
    except bb.fetch2.FetchError:
        # Ignoring errors
        return

成功编译下去,但是出来的镜像烧录之后,跟官网提供的ok3588镜像一样,没有包管理器,系统系统可以跑但是完全用不了。于是在build/conf/local.conf下修改PACKAGE_CLASSES ?= "package_rpm "为
PACKAGE_CLASSES = “package_rpm package_ipk”
EXTRA_IMAGE_FEATURES += " package-management "
编译结束的镜像提示有了dnf rpm命令,但是dns解析出现问题了。。。
现在就想知道该怎么搞