Skip to content

Commit

Permalink
R96
Browse files Browse the repository at this point in the history
  • Loading branch information
Changwan Hong committed Sep 27, 2022
0 parents commit 6dd1a86
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# WhaleOS Opensource

## Build whaleos
- Checkout chromium
```
mkdir chromium && cd chromium && vi .gclient
```
- Create .gclient file
```
solutions = [
{
"name": "src",
"url": "https://chromium.googlesource.com/chromium/[email protected]",
"managed": False,
"custom_deps": {},
"custom_vars": {},
},
]
target_os = ["chromeos"]
```
```
gclient sync
```
- Checkout whaleos and build
```
mkdir whaleos && cd whaleos
repo init -u https://github.com/naverwhale/whaleos-manifest.git -b main
repo sync
cros_sdk --chrome_root ../chromium
exit
cd manifest
export BOARD=whalebook
./build_whaleos test
```

## Run whale
- ssh to whaleos device and remount root with RW
```
mount -o rw,remount /
rm -rf /opt/google/chrome
```
- Copy whale binary to /opt/google/chrome
```
wget https://github.com/naverwhale/whaleos-manifest/releases/download/r96/chrome.tar.gz
tar xzvf chrome.tar.gz
scp -r chrome ${DEVICE_IP}:/opt/google/
```
- Reboot your whaleos device

# License
See LISCENSE files in each directories (find . -name 'LISCENSE')

0 comments on commit 6dd1a86

Please sign in to comment.