-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Changwan Hong
committed
Sep 27, 2022
0 parents
commit 6dd1a86
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |