Skip to content

Instantly share code, notes, and snippets.

@davigamer987
Created November 29, 2021 10:18
Show Gist options
  • Save davigamer987/a28aba33bfbbeba75bb81b40f4159cd1 to your computer and use it in GitHub Desktop.
Save davigamer987/a28aba33bfbbeba75bb81b40f4159cd1 to your computer and use it in GitHub Desktop.
First proto of full buildbot script
#!/bin/bash
mkdir ~/tempand
echo "enter rom manifest thing here u idot (with branch):"
read x
echo "Initiating repo!"
mkdir android;cd android
repo init -u ${x}
cd .repo;mkdir local_manifests;cd local_manifests
wget https://raw.githubusercontent.com/davigamer987/local_manifests/main/TP1803/A12-Lineage.xml
cd ..
cd ..
echo "Starting repo sync u idot"
repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags
ls vendor/
echo "pls enter rom vendor name sur: "
read v
cd device/nubia/TP1803
awk 'NR==15 {$0="$(call inherit-product, vendor/${v}/config/common_full_phone.mk)"} 1' lineage_TP1803.mk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment