Create and publish filesystem images for Android builds

Registered by Paul Sokolovsky

To facilitate internal and external testing and accessibility to Lianro Android images, we want to provide filesystem images for any Android build, directly dd'able to a card to boot.

Blueprint information

Status:
Complete
Approver:
Данило Шеган
Priority:
High
Drafter:
Paul Sokolovsky
Direction:
Approved
Assignee:
Paul Sokolovsky
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 2012.08
Started by
Paul Sokolovsky
Completed by
Paul Sokolovsky

Related branches

Sprints

Whiteboard

[danilo, 2012-07-20] Schedule for next month.
[danilo, 2012-07-23] This should be done against existing android-build.l.o, not against the new CI dashboard.
[pfalcon 2012-08-07] l-a-m-c commands to use are given at https://wiki.linaro.org/Platform/Android/ImageInstallation . They pretty much use only mandatory params and defaults for the rest. Default image size created is 2Gb. Trying to override that to 1Gb leads to error, i.e. not enough room, 1.5Gb works. Apparently, makes sense to use default value, but allow to override it in build config. An FS image bzip2 -9'es to 160Mb, so as expected, having FS images output will double storage requirements. So again, makes sense to enable/disable on via build config, and later think of default.
[pfalcon 2012-08-07] Successful build: https://android-build.linaro.org/builds/~pfalcon/panda-ics-gcc47-tilt-tracking-blob-lit/#build=10
[pfalcon 2012-08-13] Documented at https://wiki.linaro.org/Platform/Android/LinaroAndroidBuildService#Build_variables_for_BUILD_TYPE.3Dbuild-android

Meta:
Headline: Filesystem images provided for Android builds, to facilitate testing and streamlined deployment.
Acceptance: Any build can be configured to produce FS images alongside usual tarball artifacts.

(?)

Work Items

Work items:
Decide on overall image size/partition structure: DONE
Provide linaro-android-media-create command to produce an image: DONE
Configure build slave to allow linaro-android-media-create be run under sudo to create an image: DONE
Validate image creation on test builds: DONE
Deploy image creation feature for all builds: DONE
Document image creation feature: DONE

This blueprint contains Public information 
Everyone can see this information.