Add a script to build REC images 78/678/1
authorSaku Chydenius <saku.chydenius@nokia.com>
Sat, 11 May 2019 13:53:13 +0000 (16:53 +0300)
committerSaku Chydenius <saku.chydenius@nokia.com>
Mon, 13 May 2019 11:57:20 +0000 (14:57 +0300)
commit900738828f48bade06f69c1e3a8f6fb988b97950
tree906243878cf8199c0475bbf43ec24bdd8253c322
parentc9329b7df4c8a39f97f0c16fc2b14b3ca25d9896
Add a script to build REC images

This can be executed locally as well as in Jenkins to create REC images.

To create REC image also manifest RPM must be built to get build
information included to the REC runtime environment. This information
can be then used within the REC to indentify which build has been
installed.

The "rpmbuilder" tool (that uses "mock") is way too heavy for manifest
RPM creation thus Alpine based build environment was chosen. Manifest
RPM has no dependencies thus this should be ok although experimental.

Change-Id: Ic2ca3115bbfbbac89bf3139c47f8467a76ebd0b6
Signed-off-by: Saku Chydenius <saku.chydenius@nokia.com>
14 files changed:
README
build_images.sh [new file with mode: 0755]
build_step_create_install_cd.sh
build_step_golden_image.sh
create_manifest_rpm.sh [moved from prepare_manifest.sh with 50% similarity]
create_mock_config.sh
create_rpmdata_in_docker.sh
lib.sh
mock/mock.cfg.template
mock2rpmbuild_config.py [new file with mode: 0755]
tools/repository.py
tools/script/create_rpm_data.py
tools/script/create_rpm_data_test.py
tools/statics.py