我的petalinux用户包含非商业许可证。我试图在local.conf文件的末尾添加行LICENSE_WHITELIST = "non-commercial"
,但它没有编译我的包库,因为我知道我需要在我的local.conf文件中指定以下URL: git://github.com/openembedded/openembedded-core.git
因为它试图从URL ftp://ftp.netperf.org/netperf/archive/netperf-2.6.0.tar.bz2
获取哪个不是正确的。如何通过将以下文件添加到whitlist许可证并指定URL来对其进行更改。
MACHINE ??= "qemuzynq"
DISTRO ?= "petalinux"
PACKAGE_CLASSES ?= "package_rpm"
USER_CLASSES ?= "buildstats image-mklibs"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
XILINX_VER_MAIN = "2017.1"
SOURCE_MIRROR_URL ?= "https://www.author.xilinx.com/sswreleases/rel-v2017.1/downloads"
INHERIT += "own-mirrors"
INHERIT += "rm_work"
DL_DIR = "${TOPDIR}/downloads"
INHERIT += "uninative"
UNINATIVE_CHECKSUM[x86_64] = "406f783daa6f3923283b3f6ec514cb0470c3a3ea12cb12d5f4bfaec51b2b4dd3"
CONF_VERSION = "1"
INHERIT_remove = "buildhistory icecc"
CONNECTIVITY_CHECK_URIS = ""
SIGGEN_LOCKEDSIGS_SSTATE_EXISTS_CHECK = "none"
SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "warn"
BB_SETSCENE_ENFORCE_WHITELIST = "%:* *:do_shared_workdir *:do_rm_work *:do_package"
BUILDCFG_HEADER = ""
require conf/locked-sigs.inc
require conf/unlocked-sigs.inc
# Extra settings from environment:
MACHINE = "zynq-generic"
include conf/plnxtool.conf
include conf/petalinuxbsp.conf
答案 0 :(得分:0)
首先,您最有可能想要'LICENSE_WHITELIST + =“非商业性”,以避免覆盖白名单中已有的值。
接下来,我不确定您对各种URL的了解,但是为什么没有构建netperf很可能与netperf没有依赖关系(任何其他包,包组或图像)你正在建设)。首先确保它将使用'bitbake netperf'构建。然后确保在图像中包含netperf。有几种方法可以完成最后一个,但是一种方法是使用'IMAGE_INSTALL_append + =“netperf”'附加到local.conf。