Unverified Commit 51578ef1 authored by embedded-crypto's avatar embedded-crypto Committed by GitHub
Browse files

Fix dpkg warnings on install petalinux package

Using -i option on sudo, then home directory will be change when execute install binary.
parent e2c28cf0
......@@ -73,7 +73,7 @@ RUN chmod a+rx /${PETA_RUN_FILE} && \
mkdir -p /opt/Xilinx && \
chmod 777 /tmp /opt/Xilinx && \
cd /tmp && \
sudo -u vivado /accept-eula.sh /${PETA_RUN_FILE} /opt/Xilinx/petalinux && \
sudo -u vivado -i /accept-eula.sh /${PETA_RUN_FILE} /opt/Xilinx/petalinux && \
rm -f /${PETA_RUN_FILE} /accept-eula.sh
# make /bin/sh symlink to bash instead of dash:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment