Created
November 29, 2021 10:18
-
-
Save davigamer987/a28aba33bfbbeba75bb81b40f4159cd1 to your computer and use it in GitHub Desktop.
First proto of full buildbot script
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
#!/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