-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treewide: Switch to arch & rewrite from scratch
- Loading branch information
1 parent
c2dd102
commit 6b60269
Showing
14 changed files
with
726 additions
and
222 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/bash | ||
|
||
# Uncomment community [multilib] repository | ||
sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf | ||
|
||
# Update | ||
pacman -Syyu --noconfirm | ||
|
||
# Install Basic Packages | ||
pacman -S --needed --noconfirm \ | ||
sudo nano git curl wget rsync aria2 rclone \ | ||
python2 python3 python-pip zip unzip cmake \ | ||
make neofetch speedtest-cli inetutils cpio \ | ||
jdk8-openjdk lzip dpkg openssl ccache libelf \ | ||
base-devel | ||
|
||
# Install Some pip packages | ||
pip install \ | ||
twrpdtgen telegram-send | ||
|
||
# More Packages | ||
pacman -S --noconfirm \ | ||
tmate tmux screen mlocate | ||
|
||
# Create a non-root user for AUR | ||
useradd -m -G wheel -s /bin/bash testuser | ||
echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | ||
|
||
|
||
# Setup the Android Build Environment | ||
git clone --depth=1 --single-branch https://github.com/akhilnarang/scripts.git /tmp/scripts | ||
cd /tmp/scripts | ||
sudo chmod -R a+rwx . | ||
sudo -u testuser bash setup/arch-manjaro.sh | ||
cd /root | ||
rm -rf /tmp/scripts | ||
|
||
# Use python2 by default | ||
ln -sf /usr/bin/python2 /usr/bin/python |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
LANG=en_US.UTF-8 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
en_US.UTF-8 UTF-8 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
# list needed shared libs for Android lib | ||
readelf -d $1 |grep '\(NEEDED\)' | sed -r 's/.*\[(.*)\]/\1/' |
Binary file not shown.