- 02 9月, 2023 3 次提交
-
-
由 Felix Fietkau 提交于
When a dependency is pulled in via conditional depends, and the condition is already selected earlier in the chain, drop the condition. This avoids some corner cases that trigger recursive dependencies. Signed-off-by: NFelix Fietkau <nbd@nbd.name>
-
由 Felix Fietkau 提交于
This reverts commit 6c3eff9d. This appears to cause some regressions in generated config. Will be replaced with a fixed version later Signed-off-by: NFelix Fietkau <nbd@nbd.name>
-
由 Felix Fietkau 提交于
This makes it easier to keep track of changes in the generated output, when the script is modified Signed-off-by: NFelix Fietkau <nbd@nbd.name>
-
- 01 9月, 2023 1 次提交
-
-
由 Felix Fietkau 提交于
When a package foo depends on PACKAGE_foo:bar (in order to make build dependencies conditional), tracking transitive dependencies can fail because the internal seen flag is checked/set before eliminating the fake conditional dependency. This can show up as a depends on not properly turned into a select further down in the dependency chain Signed-off-by: NFelix Fietkau <nbd@nbd.name>
-
- 24 9月, 2021 1 次提交
-
-
由 Paul Spooren 提交于
The new `pkgmanifestjson` call prints all package manifest of a feed in JSON format. This function can be used to print an overview of packages information used for downstream tooling. The script is entirely based on Petrs work on dependency visualisation. Signed-off-by: NPaul Spooren <mail@aparcar.org>
-
- 15 2月, 2021 1 次提交
-
-
由 Felix Fietkau 提交于
Preparation for supporting dynamic ABI versions that depend on the runtime configuration. Read the suffix from the staging dir pkginfo version files. Signed-off-by: NFelix Fietkau <nbd@nbd.name>
-
- 21 6月, 2019 1 次提交
-
-
由 Jo-Philipp Wich 提交于
Extend the packageauxvars database to keep a list of possible package dependencies for each provider, then utilize this information in buildroot to resolve the ABI version dependencies of dependent packages up to five levels deep. This should properly trigger rebuilds for packages indirectly depending on other packages whose ABI_VERSION changed. Signed-off-by: NJo-Philipp Wich <jo@mein.io>
-
- 20 6月, 2019 1 次提交
-
-
由 Jonas Gorski 提交于
When there are multiple packages providing a meta-package, it is possible to to create a config where a package is selected as =y, but all of its dependency providers are just selected as =m. This is due to the selection statement being just config PACKAGE_foo select PACKAGE_bar if !PACKAGE_baz which is already fulfilled by PACKAGE_bar=m. Fix this by properly comparing the selection states: config PACKAGE_foo select PACKAGE_bar if PACKAGE_baz<PACKAGE_foo Also invert the select conditions to improve readability. Signed-off-by: NJonas Gorski <jonas.gorski@gmail.com> [slightly reword commit message] Signed-off-by: NJo-Philipp Wich <jo@mein.io>
-
- 31 5月, 2019 1 次提交
-
-
由 Eneas U de Queiroz 提交于
Adds support to && operand in DEPENDS. Also, fixes generation of || dependencies by scripts/package-metadata.pl. The precedence order from higher to lower is && then ||. Use of parentheses to change the order is not supported. As before, they are silently ignored. Use them for readability only. Signed-off-by: NEneas U de Queiroz <cote2004-github@yahoo.com> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [DMARC removal]
-
- 24 1月, 2019 1 次提交
-
-
由 Jo-Philipp Wich 提交于
When a library package specifies additional provides, e.g. libncurses which provides libncursesw, we should also append the abi version suffix to each provide, since there may be more than one package providing the virtual library. Signed-off-by: NJo-Philipp Wich <jo@mein.io>
-
- 19 1月, 2019 2 次提交
-
-
由 Jo-Philipp Wich 提交于
Subdequent commits need this information to resolve the ABI version when computing binary ipk dependencies. Signed-off-by: NJo-Philipp Wich <jo@mein.io>
-
由 Jo-Philipp Wich 提交于
Subsequent commits will put more auxiliary information into this file, such as the per-package ABI version, so rename the metadata script subcommand and file names accordingly. Signed-off-by: NJo-Philipp Wich <jo@mein.io>
-
- 15 1月, 2018 1 次提交
-
-
由 Jo-Philipp Wich 提交于
Prevent emitting broken dependency statements when resolving references to non existing packages to an empty provider list. Fixes: 47d6b05a ("metadata: always resolve dependencies through provides list") Signed-off-by: NJo-Philipp Wich <jo@mein.io>
-
- 14 1月, 2018 14 次提交
-
-
由 Matthias Schiffer 提交于
Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
由 Matthias Schiffer 提交于
Package "features" seem to be unused for some time. In any case, custom Config.in snippets and package PROVIDES are a much more flexible way to express similar options. Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
由 Matthias Schiffer 提交于
Instead of adding virtual packages to the normal package list, keep a separate list for provides, make each package provide itself, and resolve all dependencies through this list. This allows to use PROVIDES to replace existing packages. Fixes FS#837. Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
由 Matthias Schiffer 提交于
Runtime depends cannot have a buildtype suffix, and they never refer to source package names. In addition, this adds warnings about unsatisfiable dependencies. Furthermore, this change fixes the generation of conditional build dependencies for virtual packages provided by different source packages. Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
由 Matthias Schiffer 提交于
Target build depends are similar to host build depends in that they refer to source packages rather than binary packages. Therefore, it makes sense to handle them together, rather than putting them in a list together with runtime depends and trying to figure out if the entries refer to source or to binary packages afterwards. This does lead to PKG_BUILD_DEPENDS entries referring to binary package names not working anymore, which requires some fixes in the package repositories. Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
由 Matthias Schiffer 提交于
This feature has been unused for years, and its scope is too limited to be actually useful. Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
由 Matthias Schiffer 提交于
Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
由 Matthias Schiffer 提交于
Every single reference to subdir was concatenated with the source package name, so it makes sense to store the concatenated value instead. Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
由 Matthias Schiffer 提交于
We often want to access fields of a source packages through pkg->{src}. Allow accessing them directly instead of resolving the source hash through srcpackages. Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
由 Matthias Schiffer 提交于
All build dependencies are between source packages. Interating over source rather than binary packages simplifies parts of the code and prepares further improvement. As a side effect, this changes the implicit default variant of a few packages (the first defined is used now instead of the lexicographically first). Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
由 Matthias Schiffer 提交于
Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
由 Matthias Schiffer 提交于
Build types are a property of source rather than binary packages. This is a preparation for followup cleanup. Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
由 Matthias Schiffer 提交于
Turn the srcpackage values into hashes to allow storing more information than just binary package names. Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
由 Matthias Schiffer 提交于
Nothing explicitly depends on base-files, and even if it would, it would not cause any problems. Remove the unused special case. Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
- 05 1月, 2018 1 次提交
-
-
由 Matthias Schiffer 提交于
A self-dependency is not an error worth a warning; rather, it is very common: whenever there are dependencies between different binary packages originating from the same source package, such dependencies occur. Not actually generating dependency rules is correct, but already handled a few lines below. A typo prevented this redundant rule from working, which is the reason the warning was not actually printed. Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
- 27 7月, 2017 1 次提交
-
-
由 Jo-Philipp Wich 提交于
When a package declares a PKG_BUILD_DEPENDENCY or HOST_BUILD_DEPENDENCY on a not existing build type, the metadata script will emit a reference to an unresolvable build target in tmp/.packagedeps, causing the make process to fail hard in a way not catchable by the IGNORE_ERRORS mechanism. In a situation where a package "test-a" declares a build dependency "PKG_BUILD_DEPENDS:=test-b/host" while the Makefile of "test-b" does not implement a HostBuild, make fails with an unrecoverable error in the form: make[1]: Entering directory '...' make[1]: *** No rule to make target 'package/test-b/host/compile', needed by 'package/test-a/compile'. Stop. make[1]: Leaving directory '...' .../toplevel.mk:200: recipe for target 'package/test-a/compile' failed make: *** [package/test-a/compile] Error 2 Extend the metadata generation script to catch such unresolved references and emit a visable warning upon detection. After this change, the script will emit a warning similar to: WARNING: Makefile "package/test-a/Makefile" has a build dependency on "test-b/host" but "package/test-b/Makefile" does not implement a "host" build type Fixes a global build cluster outage which occured after the "python-cffi" feed package removed its HostBuild which the "python-cryptography" package build-depended on. Signed-off-by: NJo-Philipp Wich <jo@mein.io>
-
- 18 6月, 2017 1 次提交
-
-
由 Yousong Zhou 提交于
The script will now detect uid/gid collision and can generate a table of current allocation ./scripts/package-metadata.pl usergroup tmp/.packageinfo \ | sort -k 1,1r -k 3,3n \ | column -t This should ensure that no collision will happen for each single build Signed-off-by: NYousong Zhou <yszhou4tech@gmail.com>
-
- 12 1月, 2017 1 次提交
-
-
由 Felix Fietkau 提交于
Conditional dependencies use the '(!cond) || dep' syntax, whereas conditional select uses 'dep if cond'. Add an extra check to suppress emitting a conditional if an equal conditional select already exists. Signed-off-by: NFelix Fietkau <nbd@nbd.name>
-
- 02 11月, 2016 2 次提交
-
-
由 Jo-Philipp Wich 提交于
So far, package-metadata.pl always considered the first provider of a virtual package to be the default variant which might deviate from what buildroot considers to be the default. Change the Kconfig dependency / select code generation for virtual package providers to consider the DEFAULT_VARIANT to be the primary provider and only fall back to the first provider if no default variant was explicitely tagged. Signed-off-by: NJo-Philipp Wich <jo@mein.io>
-
由 Jo-Philipp Wich 提交于
Currently the code emitting dependencies for provide candidates is overwriting the specification calculated by the previous conditional dependency handling code, rendering dependencies on virtual PROVIDES packages in conjunction with conditional dependencies unusable. Instead of overwriting, append the PROVIDES dependency spec in order to fix using DEPENDS on virtual provider packages in conjunction with conditions. Signed-off-by: NJo-Philipp Wich <jo@mein.io>
-
- 15 10月, 2016 1 次提交
-
-
由 Zefir Kurtisi 提交于
If core packages are overridden, CONFIG_OVERRIDE_PKGS is set based on the scan order of packages, which eventually causes that config value to be modified on each build and with that causes the build process to warn for configuration being out of sync. This commit changes the CONFIG_OVERRIDE_PKGS to be sorted and prevents that false warning. Signed-off-by: NZefir Kurtisi <zefir.kurtisi@neratec.com>
-
- 24 9月, 2016 1 次提交
-
-
由 Matthias Schiffer 提交于
Dependencies on purely virtual packages (satisfied by PROVIDES) that were not using "selects" ("+" flag) would be prepended with the prefix "PACKAGE_" twice, breaking the first alternative. Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net>
-
- 07 7月, 2016 1 次提交
-
-
由 Felix Fietkau 提交于
Instead of ignoring all metadata for package/kernel/linux, process it and only suppress emitting config data to tmp/.config-package.in This ensures that packages that select kmod-* packages can inherit their depdendencies. Signed-off-by: NFelix Fietkau <nbd@nbd.name>
-
- 07 6月, 2016 1 次提交
-
-
由 Felix Fietkau 提交于
Signed-off-by: NFelix Fietkau <nbd@nbd.name>
-
- 16 5月, 2016 1 次提交
-
-
由 Felix Fietkau 提交于
It has been unused for years Signed-off-by: NFelix Fietkau <nbd@nbd.name>
-
- 13 5月, 2016 1 次提交
-
-
由 Felix Fietkau 提交于
Signed-off-by: NFelix Fietkau <nbd@nbd.name>
-
- 12 5月, 2016 1 次提交
-
-
由 Felix Fietkau 提交于
Generate the active profile name in menuconfig context Signed-off-by: NFelix Fietkau <nbd@nbd.name>
-