[v3,3/6] travis.yml: Add pyelftools install entry

Message ID 20190507185215.15441-4-jagan@amarulasolutions.com
State New
Headers show
Series
  • rockchip: rk3399: Make u-boot.itb as BUILD_TARGET
Related show

Commit Message

Jagan Teki May 7, 2019, 6:52 p.m. UTC
Currently rockchip platform is using explicit 'make u-boot.itb' for
building u-boot.itb but if we enable CONFIG_BUILD_TARGET as 'u-boot.itb'
then the resulting u-boot.itb directly will create by make.

But, that indeed make travis build fail since it require python-pyelftools
host package.

So add pyelftools install entry as 'pip install pyelftools', this would
create pyelftools on travis host which are required to build rk3399 itb.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

Comments

Kever Yang May 8, 2019, 7:04 a.m. UTC | #1
On 05/08/2019 02:52 AM, Jagan Teki wrote:
> Currently rockchip platform is using explicit 'make u-boot.itb' for
> building u-boot.itb but if we enable CONFIG_BUILD_TARGET as 'u-boot.itb'
> then the resulting u-boot.itb directly will create by make.
>
> But, that indeed make travis build fail since it require python-pyelftools
> host package.
>
> So add pyelftools install entry as 'pip install pyelftools', this would
> create pyelftools on travis host which are required to build rk3399 itb.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>  .travis.yml | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/.travis.yml b/.travis.yml
> index 8bd49ef1a5..94b795ef21 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -50,6 +50,7 @@ install:
>   - . /tmp/venv/bin/activate
>   - pip install pytest==2.8.7
>   - pip install python-subunit
> + - pip install pyelftools
>   - grub-mkimage -o ~/grub_x86.efi -O i386-efi normal  echo lsefimmap lsefi lsefisystab efinet tftp minicmd
>   - grub-mkimage -o ~/grub_x64.efi -O x86_64-efi normal  echo lsefimmap lsefi lsefisystab efinet tftp minicmd
>   - mkdir ~/grub2-arm

Patch

diff --git a/.travis.yml b/.travis.yml
index 8bd49ef1a5..94b795ef21 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -50,6 +50,7 @@  install:
  - . /tmp/venv/bin/activate
  - pip install pytest==2.8.7
  - pip install python-subunit
+ - pip install pyelftools
  - grub-mkimage -o ~/grub_x86.efi -O i386-efi normal  echo lsefimmap lsefi lsefisystab efinet tftp minicmd
  - grub-mkimage -o ~/grub_x64.efi -O x86_64-efi normal  echo lsefimmap lsefi lsefisystab efinet tftp minicmd
  - mkdir ~/grub2-arm