-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue installing petalinux #3
Comments
I never got such problem before. Is it reproducible? |
INFO: Checking installation environment requirements... ERROR: Failed to install PetaLinux SDK into "/home/monius/peta/." Please refer to the PetaLinux Tools Installation Guide. Check the troubleshooting guide at the end of that manual, and if you are |
I got it also. And I tried to coreos/bugs#1095, https://blog.csdn.net/chxw098/article/details/79470508. Still got this issues |
I managed to workaround this by using bsdtar. |
I tried still failed |
Here are my config: |
Linux 3c95488ab50b 4.9.125-linuxkit #1 SMP Fri Sep 7 08:20:28 UTC 2018 x86_64 GNU/Linux |
How did you do? In my case I created a shell script and made tar a alias to it. Then I was able to capture every call to tar and see which were the parameters. It was something ugly, but at the end worked. I can share it with you later. |
|
Guide : How-to-install-peta-linux-in-ubuntu18.04Most effective guide for installing petaLinux in modern operating system. Reference
ConfigurationHardWare
SoftWare
RequirementsIt's different from the solution in reference.(python, iproute2, xinetd, tftpd-hpa,libtool-bin) Ubuntu (apt)Noted: failed to install.
Other version
Debian (apt)VM or Bare installNoted: Success!
Enable tftp service
Docker imageNoted: failed to install.
Enable tftp service
CentOS (yum)Noted: failed to install.
Steps
0. Solve sh problem.(replace 'ash' with 'bash' 4.3 version)
1. Create an new user 'monius' and give sudo privilege.
2. Occupy the
|
Here are my steps. Bad manual |
Still failed in my debian docker image.
|
Could u plz send yours to me, thanks. |
I ended up collecting all calls to tar (using try and error) and mapping them to bsdtar. This is the script I use as an alias to
|
Here is a successful log while installing petalinux 2018.3 in Docker for your reference
|
How to alias it as tar? Copy it to .bashrc ? or save it as a script in /opt/tar.sh and alias tar=/opt/tar.sh ? Confused...never did such alias. |
I save your code in |
Here is my docker config in Mac OSX
|
I tested everything well with ubuntu and debian in VM, but failed in Docker |
I just wasted way too much time trying to build in Docker, the script is just broken. I just went to install it outside and use tar.gz , wonder how that will come back at me. Is it possible to run dockerfile in VM in automated way? |
I had the same issue. Privileges worked fine, but got me to another error about yocto. Finally solved it. I hope it helps! |
|
Installing Python2 resolved the issue but you have to create a symbolic link like so Note: the reason for the symbolic link is most likely due to my version of ubuntu (22.04) no longer installing python2 like this |
Hey, did you by any chance got a problem similar to this one when installing petalinux?
The text was updated successfully, but these errors were encountered: