Merge lp://staging/~asac/linaro-android-build-tools/mkdir-out-in-repo-sync-from-seed into lp://staging/linaro-android-build-tools

Proposed by Alexander Sack
Status: Merged
Merged at revision: 496
Proposed branch: lp://staging/~asac/linaro-android-build-tools/mkdir-out-in-repo-sync-from-seed
Merge into: lp://staging/linaro-android-build-tools
Diff against target: 11 lines (+1/-0)
1 file modified
build-scripts/helpers (+1/-0)
To merge this branch: bzr merge lp://staging/~asac/linaro-android-build-tools/mkdir-out-in-repo-sync-from-seed
Reviewer Review Type Date Requested Status
Linaro Infrastructure Pending
Review via email: mp+117345@code.staging.launchpad.net

Description of the change

if you set RAMDISK_SIZE=0 you end up with no build/out dir created;

in turn repo-sync-from-seed () -> cp .repo/manifest.xml out/source-manifest.xml fails like:

repo initialized in /mnt/jenkins/workspace/linaro-android_galaxynexus-jb-gcc47-aosp-blob/build
+ cp .repo/manifest.xml out/source-manifest.xml
cp: cannot create regular file `out/source-manifest.xml': No such file or directory
++ infrastructure_error
++ echo 'Caught infrastructure error - finishing build with '\''Not Built'\'' status'
Caught infrastructure error - finishing build with 'Not Built' status
++ exit 123
Build step 'Execute shell and set build status' changed build result to NOT_BUILT
Build step 'Execute shell and set build status' marked build as failure

creating the out/ directory (just like in the -from-mirror variant helper) fixes this.

To post a comment you must log in.
Revision history for this message
Alexander Sack (asac) wrote :

i merged this now as i wanted to make progress on the current android build system problems with JB (see lp:1030883).

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches