diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2020-04-29 11:05:03 +0200 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2020-04-30 20:04:26 +0200 |
commit | adb62ac9dfeed9827e0a706a5c2c2a64ebb95b06 (patch) | |
tree | 3f4d229bd630cdd920c58c6f2789d3e3af10f0b7 | |
parent | cc096714dfd8069eba39e290dba3d361a59e6073 (diff) |
buildconf: export: Add use-head-next also on repo 2.5
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
-rw-r--r-- | buildconf/export | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buildconf/export b/buildconf/export index 11f9d8e..ec943e6 100644 --- a/buildconf/export +++ b/buildconf/export @@ -19,9 +19,9 @@ if [ $FIRST_TIME -eq 1 ]; then mkdir -p conf cp ../layers/meta-toradex-distro/buildconf/*.conf conf/ - if [ -f conf/local.conf -a \ - -z "$(grep use-head-next conf/local.conf)" -a \ - -z "$(grep -c "meta-toradex-bsp-common.git.*upstream" ../.repo/manifest.xml)" ] + if grep -q "meta-toradex-bsp-common" ../.repo/manifest.xml && \ + ! grep -q "meta-toradex-bsp-common.git.*upstream" ../.repo/manifest.xml || \ + grep -qE "(integration.xml|next.xml)" ../.repo/manifest.xml then { echo "# This is needed when building on integration. With use-head-next you" |