File tree 2 files changed +88
-1
lines changed
2 files changed +88
-1
lines changed Original file line number Diff line number Diff line change 1
- # pi-demo
1
+ Getting Started
2
+ ---------------
3
+
4
+ ** 1. Install Repo**
5
+
6
+ Create bin dir to add to PATH:
7
+
8
+ $ mkdir -p ~/.bin
9
+
10
+ Download the Repo script:
11
+
12
+ $ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
13
+
14
+ Make it executable:
15
+
16
+ $ chmod +x ~/.bin/repo
17
+
18
+ Add ~ /.bin to your PATH
19
+
20
+ $ echo 'export PATH=$HOME/.bin:$PATH' >> ~/.bashrc
21
+ $ source ~/.bashrc
22
+
23
+ ** 2. Initialize our project**
24
+
25
+ Create an empty directory:
26
+
27
+ $ mkdir yocto
28
+ $ cd yocto
29
+
30
+ To setup your repo initially:
31
+
32
+ $ repo init -u https://github.com/angrydexterous/pi-demo.git
33
+
34
+
35
+ ** 3. Pull down the latest repos**
36
+
37
+ Updates all local repos to the branch you have selected:
38
+
39
+ $ repo sync
40
+
41
+ ** 4. Initialize Yocto**
42
+
43
+ $ export TEMPLATECONF=meta-codercamppi/conf
44
+ $ source poky/oe-init-build-env
Original file line number Diff line number Diff line change
1
+ Getting Started
2
+ ---------------
3
+
4
+ **1. Install Repo**
5
+
6
+ Create bin dir to add to PATH:
7
+
8
+ $ mkdir -p ~/.bin
9
+
10
+ Download the Repo script:
11
+
12
+ $ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
13
+
14
+ Make it executable:
15
+
16
+ $ chmod +x ~/.bin/repo
17
+
18
+ Add ~/.bin to your PATH
19
+
20
+ $ echo 'export PATH=$HOME/.bin:$PATH' >> ~/.bashrc
21
+ $ source ~/.bashrc
22
+
23
+ **2. Initialize our project**
24
+
25
+ Create an empty directory:
26
+
27
+ $ mkdir yocto
28
+ $ cd yocto
29
+
30
+ To setup your repo initially:
31
+
32
+ $ repo init -u https://github.com/angrydexterous/pi-demo.git
33
+
34
+
35
+ **3. Pull down the latest repos**
36
+
37
+ Updates all local repos to the branch you have selected:
38
+
39
+ $ repo sync
40
+
41
+ **4. Initialize Yocto**
42
+
43
+ $ export TEMPLATECONF=meta-codercamppi/conf
44
+ $ source poky/oe-init-build-env
You can’t perform that action at this time.
0 commit comments