Wind River Support Network

HomeDefectsLIN8-2893
Fixed

LIN8-2893 : configure script fails with invalid board name

Created: Feb 26, 2016    Updated: Dec 3, 2018
Resolved Date: Feb 29, 2016
Found In Version: 8.0.0.1
Fix Version: 8.0.0.3
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Build & Config

Description

configure with an invalid board name.  this will trigger:

/8.x/wrlinux-x/layers/wrlcompat/scripts/configure: line 1580: x: command not found

from missing quotes in this code:

  1577          if [ x"$board_layer" = x ] ; then
  1578                  echo "ERROR: You selected an invalid board name: \"$board\""
  1579                  echo ""
  1580                  if x${use_rcpl_version} != x; then
  1581                          echo "Valid boards of RCPL ${use_rcpl_version##*RCPL} are:"
  1582                  else
  1583                          echo "Valid boards of RCPL 0 are:"

...presumably from the value used in a git checkout containing spaces.
  1584                  fi
  1585                  for b in $valid_boards; do
  1586                      echo $b
  1587                  done
  1588                  echo ""
  1589                  exit 1
  1590          fi

Steps to Reproduce

.../wrlinux/configure --enable-board=xyz --enable-rootfs=glibc_small

Other Downloads


Live chat
Online