mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-25 23:49:32 -05:00
Switch back to building on Arch Linux host
FWIW Bare Metal > KVM > HyperV > VBox
This commit is contained in:
parent
5fedeb00d5
commit
3edeb78b72
9
Misc/android-devel/PKGBUILD
Normal file
9
Misc/android-devel/PKGBUILD
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#Created from aosp-devel and lineageos-devel by p4block
|
||||||
|
pkgname=android-devel
|
||||||
|
pkgver=0.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Metapackage to pull all dependencies required to build Android'
|
||||||
|
arch=('x86_64')
|
||||||
|
url='https://wiki.archlinux.org/index.php/Android#Building_Android'
|
||||||
|
license=('None')
|
||||||
|
depends=('gcc-multilib' 'git' 'gnupg' 'flex' 'bison' 'gperf' 'sdl' 'wxgtk' 'squashfs-tools' 'curl' 'ncurses' 'zlib' 'schedtool' 'perl-switch' 'zip' 'unzip' 'libxslt' 'python2-virtualenv' 'bc' 'rsync' 'lib32-zlib' 'lib32-ncurses' 'lib32-readline' 'xml2' 'lzop' 'pngcrush' 'imagemagick' 'repo' 'ccache' 'maven' 'gradle' 'lib32-ncurses5-compat-libs' 'ncurses5-compat-libs')
|
@ -10,7 +10,7 @@
|
|||||||
#Fully Functional: bacon, clark
|
#Fully Functional: bacon, clark
|
||||||
#LTE Broken (Potentially Unrelated): mako
|
#LTE Broken (Potentially Unrelated): mako
|
||||||
|
|
||||||
base="/mnt/adw/Android/Build/LineageOS-14.1/";
|
base="/mnt/Drive-1/Development/Other/Android_ROMs/Build/LineageOS-14.1/";
|
||||||
export base;
|
export base;
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#repo forall -c 'git add -A && git reset --hard' && rm -rf build external/noto-fonts external/sqlite frameworks/base packages/apps/CMParts packages/apps/FakeStore packages/apps/FDroid packages/apps/FDroidPrivilegedExtension packages/apps/GmsCore packages/apps/GsfProxy packages/apps/IchnaeaNlpBackend packages/apps/SetupWizard system/core vendor/cm frameworks/opt/net/ims packages/apps/Settings out
|
#repo forall -c 'git add -A && git reset --hard' && rm -rf build external/noto-fonts external/sqlite frameworks/base packages/apps/CMParts packages/apps/FakeStore packages/apps/FDroid packages/apps/FDroidPrivilegedExtension packages/apps/GmsCore packages/apps/GsfProxy packages/apps/IchnaeaNlpBackend packages/apps/SetupWizard system/core vendor/cm frameworks/opt/net/ims packages/apps/Settings out
|
||||||
|
|
||||||
#Prepare a build
|
#Prepare a build
|
||||||
#repo sync -j20 --force-sync && sh ../../Scripts/LAOS-14.1_Patches.sh && source ../../Scripts/Generic_Deblob.sh && source build/envsetup.sh && export ANDROID_HOME="/mnt/adw/Android/SDK" && export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4096m"
|
#repo sync -j20 --force-sync && sh ../../Scripts/LAOS-14.1_Patches.sh && source ../../Scripts/Generic_Deblob.sh && source build/envsetup.sh && export ANDROID_HOME="/home/$USER/Android/Sdk" && export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4096m" && export KBUILD_BUILD_USER=emy && export KBUILD_BUILD_HOST=dscbm1
|
||||||
|
|
||||||
#Build!
|
#Build!
|
||||||
#brunch lineage_mako-user && export OTA_PACKAGE_SIGNING_KEY=../../Signing_Keys/releasekey && export SIGNING_KEY_DIR=../../Signing_Keys && brunch lineage_clark-user && brunch lineage_bacon-user && brunch lineage_hammerhead-user && brunch lineage_shamu-user && brunch lineage_bullhead-user && brunch lineage_angler-user && brunch lineage_flo-user && brunch lineage_marlin-user && brunch lineage_ether-user && brunch lineage_Z00T-user
|
#brunch lineage_mako-user && export OTA_PACKAGE_SIGNING_KEY=../../Signing_Keys/releasekey && export SIGNING_KEY_DIR=../../Signing_Keys && brunch lineage_clark-user && brunch lineage_bacon-user && brunch lineage_hammerhead-user && brunch lineage_shamu-user && brunch lineage_bullhead-user && brunch lineage_angler-user && brunch lineage_flo-user && brunch lineage_marlin-user && brunch lineage_ether-user && brunch lineage_Z00T-user
|
||||||
@ -15,9 +15,9 @@
|
|||||||
#START OF PREPRATION
|
#START OF PREPRATION
|
||||||
#
|
#
|
||||||
#Set some variables for use later on
|
#Set some variables for use later on
|
||||||
base="/mnt/adw/Android/Build/LineageOS-14.1/"
|
base="/mnt/Drive-1/Development/Other/Android_ROMs/Build/LineageOS-14.1/";
|
||||||
patches="/mnt/adw/Android/Patches/LineageOS-14.1/"
|
patches="/mnt/Drive-1/Development/Other/Android_ROMs/Patches/LineageOS-14.1/"
|
||||||
ANDROID_HOME="/mnt/adw/Android/SDK"
|
ANDROID_HOME="/home/$USER/Android/Sdk"
|
||||||
|
|
||||||
#Download some out-of-tree files for use later on
|
#Download some out-of-tree files for use later on
|
||||||
mkdir -p /tmp/ar
|
mkdir -p /tmp/ar
|
||||||
|
Loading…
Reference in New Issue
Block a user