This Manifest will build either Dragon or Dragonshield (Pixel-C)
To initialize your local repository use a command like this:
repo init -u https://github.com/LineageOS/android.git -b lineage-18.1
Then you need to clone the local_manifest:
rm -rf .repo/local_manifests
git clone https://github.com/DevPixel-C/local_manifests.git -b dragonshield-LOS-18.1-WIP_Kernel .repo/local_manifests
rm -rf .repo/local_manifests
git clone https://github.com/DevPixel-C/local_manifests.git -b dragonshield-18.1_kernel-4.9 .repo/local_manifests
~/root-of-your-build-tree/.repo$ ll
total 76
drwxrwxr-x 8 DevPixel-C DevPixel-C 4096 Feb 28 20:35 ./
drwxrwxr-x 31 DevPixel-C DevPixel-C 4096 Mar 1 09:21 ../
drwxrwxr-x 2 DevPixel-C DevPixel-C 4096 Mar 3 18:47 local_manifests/
drwxrwxr-x 3 DevPixel-C DevPixel-C 4096 Feb 28 20:33 manifests/
drwxrwxr-x 10 DevPixel-C DevPixel-C 4096 Feb 28 20:34 manifests.git/
lrwxrwxrwx 1 DevPixel-C DevPixel-C 21 Feb 28 20:33 manifest.xml -> manifests/default.xml
-rw-rw-r-- 1 DevPixel-C DevPixel-C 11508 Feb 28 23:02 project.list
drwxrwxr-x 18 DevPixel-C DevPixel-C 4096 Feb 28 21:49 project-objects/
drwxrwxr-x 31 DevPixel-C DevPixel-C 4096 Feb 28 22:01 projects/
drwxrwxr-x 7 DevPixel-C DevPixel-C 4096 Feb 28 18:02 repo/
-rw-rw-r-- 1 DevPixel-C DevPixel-C 29667 Feb 28 23:02 .repo_fetchtimes.json
Then to sync up:
repo sync --force-sync
Or
repo sync --force-sync --no-clone-bundle -j10
Finally to build:
Build Google's Dragon (Pixel-C)
source build/envsetup.sh
brunch dragon
Build NVidia's DragonShield (Pixel-C)
source build/envsetup.sh
brunch dragonshield
Extras:
Recovery partition:
mka recoveryimage
Boot image ramdisk:
mka bootimage
Vendor_boot image ramdisk:
mka vendorbootimage