fucking shit
Cette révision appartient à :
Parent
0b24d708c0
révision
c621d4e4ea
|
@ -0,0 +1,3 @@
|
|||
[submodule "linux"]
|
||||
path = linux
|
||||
url = https://github.com/torvalds/linux.git
|
14
README.md
14
README.md
|
@ -1,13 +1,17 @@
|
|||
# build lineage OS images
|
||||
- `docker build -t andbuild -t andbuild:latest .`
|
||||
- `cd ~ && docker run -it --rm -v $PWD/android:/root/android --dns 8.8.8.8 andbuild /bin/bash`
|
||||
- clone this repository, `cd <dir>`
|
||||
- `git submodule update --init --recursive`
|
||||
- `cp kernel-config linux/.config`
|
||||
- `cd builder && docker build -t andbuild -t andbuild:latest .`
|
||||
- `docker run -it --restart always -v $PWD/linux:/usr/src/linux -v $HOME/android:/root/android --dns 8.8.8.8 andbuild /bin/bash`
|
||||
- in container: `repo init -u git://github.com/LineageOS/android.git -b lineage-18.1`
|
||||
- in container: `repo sync`
|
||||
- in container: `source build/envsetup.sh`
|
||||
- in container: `breakfast lineage_x86_64-userdebug`
|
||||
- in container: `make -j8 droid`
|
||||
- in container: `cd /usr/src/linux && make olddefconfig && make -j8 bzImage && make -j8 modules`
|
||||
|
||||
## successful build
|
||||
## Location of the LineageOS Build:
|
||||
|
||||
```
|
||||
root@c56e9670c6b8:~/android/lineage# find out/ -type f -name "*.img"
|
||||
|
@ -31,10 +35,6 @@ out/target/product/generic_x86_64/system.img
|
|||
root@c56e9670c6b8:~/android/lineage#
|
||||
```
|
||||
|
||||
# Build kernel (TODO)
|
||||
|
||||
# QEMU parameters (TODO)
|
||||
|
||||
## QEMU startup script
|
||||
```
|
||||
#!/bin/bash
|
||||
|
|
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
|
@ -0,0 +1 @@
|
|||
Subproject commit 17ae69aba89dbfa2139b7f8024b757ab3cc42f59
|
Chargement…
Référencer dans un nouveau ticket