forked from bdellegrazie/docker-ubuntu-systemd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlate_customizations
More file actions
executable file
·25 lines (21 loc) · 911 Bytes
/
late_customizations
File metadata and controls
executable file
·25 lines (21 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
# system environment variables
echo 'container=docker' >> /etc/environment
echo 'LC_ALL=C' >> /etc/environment
echo 'LANG="C.UTF-8"' >> /etc/environment
# uncomment if needed
#echo 'ALLOW_MISSING_DEPENDENCIES=true' >> /etc/environment
# uncomment for ccach
#CCACHE_DIR='/mnt/workspace/Containers/ubuntu-androidbuild/Caches/CCACHE_HOME'
#echo "CCACHE_DIR=\"${CCACHE_DIR}\"" >> /etc/environment
#echo 'USE_CCACHE=1' >> /etc/environment
# uncomment on 8gig RAM machines
#
# Note:
# you also need to setup both ZRAM and enough SWAP on the host
# even with that you still cannot build A10+ directly
# these environment variables are useless to A10+ builds BTW
# you'll have to manually apply some patches to the AOSP build system instead ig
#echo 'JAVA_TOOL_OPTIONS="-Xmx16G"' >> /etc/environment
#echo '_JAVA_OPTIONS="-Xmx16G"' >> /etc/environment
cp -avf /etc/environment /etc/environment.original