diff options
author | Ricardo Salveti <ricardo.salveti@linaro.org> | 2015-10-29 21:06:06 -0200 |
---|---|---|
committer | Ricardo Salveti <ricardo.salveti@linaro.org> | 2015-10-29 21:06:19 -0200 |
commit | 7f4baaadcb3bdf061e4e2860a6418b9fa5341fe3 (patch) | |
tree | c4a489a23ce30be0b6025d0f49b4701023c15405 /96boards-reference-grub-efi-arm64.yaml | |
parent | 5bca8c8fdaa4837875d3f2321b6904a4a94fbf81 (diff) |
96boards-reference-grub-efi-arm64: exporting build information as README.textile
Change-Id: Ic3326c93a47f7d8ba47f93527348661206691d82
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Diffstat (limited to '96boards-reference-grub-efi-arm64.yaml')
-rw-r--r-- | 96boards-reference-grub-efi-arm64.yaml | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/96boards-reference-grub-efi-arm64.yaml b/96boards-reference-grub-efi-arm64.yaml index a7505222b3..038cd0e8dd 100644 --- a/96boards-reference-grub-efi-arm64.yaml +++ b/96boards-reference-grub-efi-arm64.yaml @@ -37,9 +37,10 @@ rm -rf out } + GRUB_EFI_BIN_PKG=grub-efi-arm64-bin sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list sudo apt-get update - sudo apt-get install -y --no-install-recommends grub-efi-arm64-bin python-pycurl + sudo apt-get install -y --no-install-recommends $GRUB_EFI_BIN_PKG python-pycurl mkdir out @@ -49,12 +50,42 @@ configfile \$prefix/grub.cfg EOF + GRUB_MODULES="boot chain configfile efinet ext2 fat gettext help linux loadenv lsefi normal part_gpt part_msdos read search search_fs_file search_fs_uuid search_label terminal terminfo tftp time" grub-mkimage \ --verbose \ --config=out/grub.configfile \ --output=out/grubaa64.efi \ --format=arm64-efi \ - boot chain configfile efinet ext2 fat gettext help linux loadenv lsefi normal part_gpt part_msdos read search search_fs_file search_fs_uuid search_label terminal terminfo tftp time + $GRUB_MODULES + + # Build information + cat > out/README.textile << EOF + + h4. 96Boards - Reference Component - GRUB UEFI + + GRUB UEFI build consumed by the 96Boards Reference Platform Builds + + Build Description: + * Build URL: "$BUILD_URL":$BUILD_URL + * Grub modules used: + + EOF + echo -n "bc. " >> out/README.textile + echo $GRUB_MODULES >> out/README.textile + cat >> out/README.textile << EOF + + * Grub config used: + + EOF + echo -n "bc. " >> out/README.textile + cat out/grub.configfile >> out/README.textile + cat >> out/README.textile << EOF + + * $GRUB_EFI_BIN_PKG package: + + EOF + echo -n "bc. " >> out/README.textile + apt-cache show $GRUB_EFI_BIN_PKG >> out/README.textile # Publish test -d ${HOME}/bin || mkdir ${HOME}/bin |