StarlingX build source tree root
Go to file
Scott Little 9b77e2e1b3 Build avoidance fixes
1) Build avoidance fails on a clean workspace because directory
$MY_WORKSPACE/tmp doesn't exist when mktemp needs to
create a forth subdir under that path.

Add a 'mkdir -p $MY_WORKSPACE/tmp' to ensure it exists
prior to mktemp.

2) Failed to rebuild kmods after a kernel change and
building with build-avoidance enabled.  The problem was
a missing dependency cache that would have listed
the kmods as having dependencies on the kernel.
Reusing kmods from a prior build in conjunction with
a rebuilt kernel results int load with unusable kmods
due to a key mismatch.

Add the dependancy-cache to the list of artifacts to
syncronize as part of build avoidance.  A primed
dependency cache will allow build-pkgs to determine
that kmods must be rebuilt when the kernel has changed.

3) Make sure $MY_WORKSPACE/$BUILD_TYPE/repo
symlink exists after a build avoidance build.
If no packages require a rebuild, it was missing.

4) Fix an error message that was puzzling while debugging
the above issues.

Closes-Bug: 1864110
Change-Id: Ia912b2e3e110efbe69004d7978109ebb089d684b
Signed-off-by: Scott Little <scott.little@windriver.com>
2020-02-21 16:07:05 -05:00
build-data Build avoidance fixes 2020-02-21 16:07:05 -05:00
build-tools Build avoidance fixes 2020-02-21 16:07:05 -05:00
stx Updating .gitignore with new oidc-auth-armada-app repo 2019-12-24 08:41:40 -06:00
.gitignore Update tox.ini bashate to test all bash scripts 2020-02-12 19:20:43 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:37 +00:00
.zuul.yaml Adding job to upload commits to GitHub 2020-02-06 15:00:45 -05: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 Update tox.ini bashate to test all bash scripts 2020-02-12 19:20:43 +00:00