summaryrefslogtreecommitdiffstats
path: root/openpower/scripts
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2016-07-22 09:36:56 +0800
committerJeremy Kerr <jk@ozlabs.org>2016-07-25 10:09:45 +0800
commit28df94b76a7951d5faed576f873d3c315c6d6818 (patch)
tree81b6443f3fe83ccd2268a7fd6358e7b4042253a0 /openpower/scripts
parent8aad1119bffeee21b4c3fec84712f80a836755c8 (diff)
downloadtalos-op-build-28df94b76a7951d5faed576f873d3c315c6d6818.tar.gz
talos-op-build-28df94b76a7951d5faed576f873d3c315c6d6818.zip
platform-xml: DEPENDENCIES is a list of packages, not targets
The current $target-xml packages use target names in their dependencies lists, where they should be using package names. This breaks certain targets, like 'legal-info', which create dependencies by adding other suffixes to the package names. From the buildroot manual: These dependencies are listed in terms of lower-case package names, which can be packages for the target (without the host- prefix) or packages for the host (with the host-) prefix). Buildroot will ensure that all these packages are built and installed before the current package starts its configuration. This change fixed these DEPENDENCIES defintions to use package names instead. Consequently, we don't need to filter out the -install-images target suffix in the op-target-dependencies script. Fixes #547. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'openpower/scripts')
-rwxr-xr-xopenpower/scripts/op-target-dependencies1
1 files changed, 0 insertions, 1 deletions
diff --git a/openpower/scripts/op-target-dependencies b/openpower/scripts/op-target-dependencies
index cd24a56b..c99c69d2 100755
--- a/openpower/scripts/op-target-dependencies
+++ b/openpower/scripts/op-target-dependencies
@@ -56,7 +56,6 @@ sub package_deps
my $package = shift;
my $level = shift;
- $package =~ s/-install-images//; # Strip off -install-images subpass.
$package =~ s/-rebuild.*//; # Strip off -rebuild* subpass.
$package =~ s/linux[0-9]*/linux/; # Strip off linux version.
OpenPOWER on IntegriCloud