Skip to content

Commit 9611e68

Browse files
nmcainalphato-o
authored andcommitted
Update README.md (#12)
unify README instructions to work with r70
1 parent b199eef commit 9611e68

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ $ git config --global user.name "Your Name"
143143
The directory structure described here is a recommendation based on the best practice in the Fyde team. You may host the files in a different way as you wish.
144144

145145
```
146-
$ mkdir -p /project/chromiumos-R68 # This is the directory to hold Chromium OS source code, name it according to the release you are going to build.
146+
$ mkdir -p /project/chromiumos-R70 # This is the directory to hold Chromium OS source code, name it according to the release you are going to build.
147147
$ mkdir -p /project/overlays # This is the directory to hold this repository.
148148
```
149149

@@ -162,8 +162,8 @@ You will see a list of Git commit IDs and its name in the form of ```refs/heads/
162162
Now run these commands to fetch the source code. Find and use a different release name if you would like to build a different release.
163163

164164
```
165-
$ cd /project/chromiumos-R68
166-
$ repo init -u https://chromium.googlesource.com/chromiumos/manifest.git --repo-url https://chromium.googlesource.com/external/repo.git -b stabilize-10718.88.B # The last R68 stable release
165+
$ cd /project/chromiumos-R70
166+
$ repo init -u https://chromium.googlesource.com/chromiumos/manifest.git --repo-url https://chromium.googlesource.com/external/repo.git -b stabilize-10718.88.B # The last R70 stable release
167167
$ repo sync -j8 # Raise this number if you have a fast Internet connection
168168
```
169169

@@ -191,7 +191,7 @@ Now fetch this overlay and put it in the right place.
191191
$ cd /project/overlays
192192
$ git clone https://github.com/fydeos/chromium_os_for_raspberry_pi.git
193193
194-
$ cd /project/chromiumos-R68/src/overlays
194+
$ cd /project/chromiumos-R70/src/overlays
195195
$ ln -s /project/overlays/chromium_os_for_raspberry_pi/* .
196196
```
197197

@@ -201,7 +201,7 @@ $ ln -s /project/overlays/chromium_os_for_raspberry_pi/* .
201201
As mentioned above, a chroot environment will be used to run the actual build process and some other related tasks. To create the chroot environment, run below commands.
202202

203203
```
204-
$ cd /project/chromiumos-R68
204+
$ cd /project/chromiumos-R70
205205
$ cros_sdk
206206
```
207207

@@ -211,7 +211,7 @@ It make take 10 to over 30 minutes depends on your Internet connection speed and
211211
(cr) (stabilize-10718.88.B/(xxxxxx...)) <user>@<host> ~/trunk/src/scripts $
212212
```
213213

214-
The chroot environment is located under the ```/project/chromiumos-R68/chroot``` directory.
214+
The chroot environment is located under the ```/project/chromiumos-R70/chroot``` directory.
215215

216216
Let's exit from the chroot first as we need to do some customization before move on. Type ```exit``` or ```Ctrl + D``` to exit from the chroot shell.
217217

@@ -223,7 +223,7 @@ If you would like to remove the chroot and re-create it from scratch, don't dele
223223
The correct way to remove the chroot is by using below commands.
224224

225225
```
226-
$ cd /project/chromiumos-R68
226+
$ cd /project/chromiumos-R70
227227
$ cros_sdk --delete
228228
```
229229

@@ -233,18 +233,18 @@ Programs running inside the chroot will not be able to access files outside of t
233233
When entering the Chromium OS chroot environment, a file named ```.local_mounts``` will be checked and directories listed in it will be bind mounted inside the chroot. All we need to do is to create this file in the right place and put necessary contents in, by using below command.
234234

235235
```
236-
$ echo "/project" > /project/chromiumos-R68/src/scripts/.local_mounts
236+
$ echo "/project" > /project/chromiumos-R70/src/scripts/.local_mounts
237237
```
238238

239239
Now, after entered the chroot, a ```/project``` directory will exist in the chroot and its content is the same as the ```/project``` directory in the host OS, as it actually is bind mounted from the host OS.
240240

241-
If we don't do this, the ```/project/chromiumos-R68/src/overlays/overlay-rpi3``` symbolic link will not be accessible, as the top directory (```/project```) it points to doesn't exist in the chroot.
241+
If we don't do this, the ```/project/chromiumos-R70/src/overlays/overlay-rpi3``` symbolic link will not be accessible, as the top directory (```/project```) it points to doesn't exist in the chroot.
242242

243243
## Enter the chroot
244244
Now we can enter the chroot.
245245

246246
```
247-
$ cd /project/chromiumos-R68
247+
$ cd /project/chromiumos-R70
248248
$ cros_sdk
249249
```
250250

@@ -348,7 +348,7 @@ The disk image is usually named ```chromiumos_image.bin```, under abovementioned
348348
in the chroot, and
349349

350350
```
351-
/project/chromiumos-R56/src/build/images/rpi3/latest/chromiumos_image.bin
351+
/project/chromiumos-R70/src/build/images/rpi3/latest/chromiumos_image.bin
352352
```
353353
in the host OS.
354354

0 commit comments

Comments
 (0)