mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 21:43:30 +08:00
ddf66867b1
The way we handle CPE_ID variable is unusual compared to the other variables: we mostly compute defaults for all of them, and eventually aggregate the various CPE_ID variables to form the CPE ID name. However, we do not consider that CPE ID to valid, unless there is one (or more) CPE_ID variables actually set by the package; this shows that the CPE ID has been checked to be valid against the NVD CPE database. In that situation, we internally define the duly undocumented _CPE_ID_VALID variable. However, it is totally possible (and very often the case) that the default value we set to those variables are appropriate, and do defne a valid CPE ID. In this case, the package will define any arbitrary CPE_ID variable to its default value, usually by setting either the VENDOR or PRODUCT field, though there is no rule or requirement that be the case. This is not very clean, non-obvious, and does not allow for easily adding checks in check-package. Add the _CPE_ID_VALID variable to the manual, to make it official that it should be used when the default values of the others are valid. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> |
||
---|---|---|
.. | ||
adding-board-support.adoc | ||
adding-packages-asciidoc.adoc | ||
adding-packages-autotools.adoc | ||
adding-packages-cargo.adoc | ||
adding-packages-cmake.adoc | ||
adding-packages-conclusion.adoc | ||
adding-packages-directory.adoc | ||
adding-packages-generic.adoc | ||
adding-packages-gettext.adoc | ||
adding-packages-golang.adoc | ||
adding-packages-hooks.adoc | ||
adding-packages-kconfig.adoc | ||
adding-packages-kernel-module.adoc | ||
adding-packages-linux-kernel-spec-infra.adoc | ||
adding-packages-luarocks.adoc | ||
adding-packages-meson.adoc | ||
adding-packages-perl.adoc | ||
adding-packages-python.adoc | ||
adding-packages-qmake.adoc | ||
adding-packages-rebar.adoc | ||
adding-packages-tips.adoc | ||
adding-packages-virtual.adoc | ||
adding-packages-waf.adoc | ||
adding-packages.adoc | ||
advanced.adoc | ||
appendix.adoc | ||
beyond-buildroot.adoc | ||
ccache-support.adoc | ||
common-usage.adoc | ||
configure-other-components.adoc | ||
configure.adoc | ||
contribute.adoc | ||
customize-configuration.adoc | ||
customize-device-permission-tables.adoc | ||
customize-directory-structure.adoc | ||
customize-outside-br.adoc | ||
customize-packages.adoc | ||
customize-patches.adoc | ||
customize-post-image.adoc | ||
customize-quick-guide.adoc | ||
customize-rootfs.adoc | ||
customize-users-tables.adoc | ||
customize.adoc | ||
debugging-buildroot.adoc | ||
developers.adoc | ||
download-infra.adoc | ||
download-location.adoc | ||
faq-troubleshooting.adoc | ||
getting.adoc | ||
how-buildroot-works.adoc | ||
integration-selinux-support.adoc | ||
integration-systemd.adoc | ||
integration.adoc | ||
introduction.adoc | ||
known-issues.adoc | ||
legal-notice.adoc | ||
make-tips.adoc | ||
makedev-syntax.adoc | ||
makeusers-syntax.adoc | ||
manual.adoc | ||
manual.mk | ||
migrating.adoc | ||
package-make-target.adoc | ||
patch-policy.adoc | ||
prerequisite.adoc | ||
quickstart.adoc | ||
rebuilding-packages.adoc | ||
release-engineering.adoc | ||
resources.adoc | ||
using-buildroot-debugger.adoc | ||
using-buildroot-development.adoc | ||
using-buildroot-toolchain.adoc | ||
writing-rules.adoc |