StarlingX build source tree root
Go to file
Scott Little 91f3b6f899 build-pkg pkg-name of std pkg causes rt build failure
Brief Description
-----------------
Designer issues 'build-pkg pkg-name' where pkg-name is only valid for
std builds.

Expected result is that only 'std' build is executed on the named
package.
What is observed is that aftes a successful std build, an 'rt' build is
executed with an invalid package list causing a failure.

The package is built correctly, but command returns 1.
This breaks scripts that test build-pkgs return code.

Problem
-------
find_targets returned $EMPTY_LIST rather than $EMPTY_TARGETS as expected.

Solution
--------
find_targets must return $EMPTY_TARGETS when no targets are found for
the build type.

Closes-Bug: 1794542
Change-Id: I3d21bb793b1fc9637b16a08fdfcd2fd998742bfb
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-09-26 11:23:29 -04:00
build-data Build Avoidance 2018-09-17 16:41:31 -04:00
build-tools build-pkg pkg-name of std pkg causes rt build failure 2018-09-26 11:23:29 -04:00
stx Remove empty repo stx-utils 2018-08-03 14:14:41 -04:00
.gitignore Build Avoidance 2018-09-17 16:41:31 -04:00
.gitreview correct gitreview setting for master 2018-09-20 23:25:41 +08:00
.zuul.yaml Fix linters issues and enable tox/zuul linters job as gate 2018-09-05 22:42:11 +08:00
LICENSE StarlingX open source release updates 2018-06-01 07:45:23 -07:00
test-requirements.txt Update tests to new default 2018-06-08 20:09:47 -05:00
tox.ini Fix linters issues and enable tox/zuul linters job as gate 2018-09-05 22:42:11 +08:00