z4yx / petalinux-docker

Dockerfile to build docker images with Petalinux (Tested on version 2018.3~2021.1)
MIT License
114 stars 65 forks source link

petalinux2017.4 issue for ubuntu18.04 #11

Closed LeiWang1999 closed 3 years ago

LeiWang1999 commented 3 years ago

I got this issue:

environment: line 314: ((: 10#15~1 > 10#3: syntax error in expression (error token is "~1 > 10#3")
environment: line 318: ((: 10#15~1 < 10#3: syntax error in expression (error token is "~1 < 10#3")

And it seems unbuntu 18.04 which doesnt support it, look ahead this thread in xilinx formus.

z4yx commented 3 years ago

You may manually change the first line of Dockerfile to 16.04 for old Petalinux release.

Older version of Petalinux is no longer supported, so I updated the project description. Sorry for inconvenience.

LeiWang1999 commented 3 years ago

Thank you for your reply, i had replaced and it work for me now.