Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Petalinux Docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
ACS
Public
VILLASframework
VILLASfpga
Petalinux Docker
Commits
944a7204
Commit
944a7204
authored
6 years ago
by
zyx
Browse files
Options
Downloads
Patches
Plain Diff
for petalinux 2016.3
parent
7d43d689
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+8
-11
8 additions, 11 deletions
Dockerfile
accept-eula.sh
+0
-1
0 additions, 1 deletion
accept-eula.sh
with
8 additions
and
12 deletions
Dockerfile
+
8
−
11
View file @
944a7204
...
...
@@ -7,7 +7,9 @@ MAINTAINER z4yx <z4yx@users.noreply.github.com>
#install dependences:
RUN
sed
-i
.bak s/archive.ubuntu.com/mirror.tuna.tsinghua.edu.cn/g /etc/apt/sources.list
&&
\
dpkg
--add-architecture
i386
&&
apt-get update
&&
apt-get
install
-y
\
tree
\
build-essential
\
bc
\
sudo
\
tofrodos
\
iproute2
\
...
...
@@ -24,17 +26,10 @@ RUN sed -i.bak s/archive.ubuntu.com/mirror.tuna.tsinghua.edu.cn/g /etc/apt/sourc
wget
\
socat
\
gcc-multilib
\
libsdl1.2-dev
\
libglib2.0-dev
\
lib32z1-dev
\
zlib1g:i386
\
libgtk2.0-0
\
screen
\
pax
\
diffstat
\
xvfb
\
xterm
\
texinfo
\
gzip
\
unzip
\
cpio
\
...
...
@@ -62,10 +57,12 @@ COPY accept-eula.sh ${PETA_RUN_FILE} /
# run the install
RUN
chmod
a+x /
${
PETA_RUN_FILE
}
&&
\
mkdir
-p
/opt/Xilinx
&&
\
chmod
777 /tmp /opt/Xilinx
&&
\
chmod
777 /tmp
/opt
/opt/Xilinx
&&
\
cd
/tmp
&&
\
sudo
-u
vivado /accept-eula.sh /
${
PETA_RUN_FILE
}
/opt/Xilinx/petalinux
&&
\
rm
-f
/
${
PETA_RUN_FILE
}
/accept-eula.sh
sudo
-u
vivado /accept-eula.sh /
${
PETA_RUN_FILE
}
/opt/Xilinx
;
\
sudo
-u
vivado /opt/Xilinx/tools/yocto-sdk/petalinux-glibc-x86_64-buildtools-
*
-y
-d
/opt/Xilinx/tools/yocto-sdk
RUN
rm
-f
/
${
PETA_RUN_FILE
}
/accept-eula.sh
USER
vivado
ENV
HOME /home/vivado
...
...
@@ -74,5 +71,5 @@ RUN mkdir /home/vivado/project
WORKDIR
/home/vivado/project
#add vivado tools to path
RUN
echo
"source /opt/Xilinx/
petalinux/
settings.sh"
>>
/home/vivado/.bashrc
RUN
echo
"source /opt/Xilinx/settings.sh"
>>
/home/vivado/.bashrc
This diff is collapsed.
Click to expand it.
accept-eula.sh
+
0
−
1
View file @
944a7204
...
...
@@ -22,6 +22,5 @@ expect {
}
set timeout
-1
expect
"INFO: Checking PetaLinux installer integrity..."
expect
"INFO: PetaLinux SDK has been installed"
#interact
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment