2020-06-06 16:29:25 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
first="Tracey"
|
|
|
|
|
last="Clark"
|
|
|
|
|
email="tracey_dev@tlcnet.info"
|
2020-09-06 15:49:58 -05:00
|
|
|
phabtoken=`cat ~/.phab_token_solus`
|
2020-06-06 16:29:25 -05:00
|
|
|
|
|
|
|
|
# Switch to unstable repository and install applications
|
|
|
|
|
sudo eopkg ar Solus https://mirrors.rit.edu/solus/packages/unstable/eopkg-index.xml.xz
|
|
|
|
|
sudo eopkg enable-repo Solus-Dev
|
|
|
|
|
sudo eopkg up -y
|
2020-09-06 15:49:58 -05:00
|
|
|
sudo eopkg install vscode htop zsh openssh vim ripgrep micro
|
2020-06-06 16:29:25 -05:00
|
|
|
|
|
|
|
|
# Install and setup build tools
|
|
|
|
|
sudo eopkg it -c system.devel
|
|
|
|
|
sudo eopkg it solbuild arcanist solbuild-config-unstable
|
|
|
|
|
sudo solbuild init
|
|
|
|
|
sudo solbuild update
|
|
|
|
|
|
|
|
|
|
mkdir ~/packaging
|
|
|
|
|
cd ~/packaging
|
|
|
|
|
git clone https://dev.getsol.us/source/common.git
|
|
|
|
|
|
|
|
|
|
ln -sv common/Makefile.common .
|
|
|
|
|
ln -sv common/Makefile.toplevel Makefile
|
|
|
|
|
ln -sv common/Makefile.iso .
|
|
|
|
|
|
2020-09-06 15:49:58 -05:00
|
|
|
touch ~/.gitignore
|
|
|
|
|
echo '*~' >> ~/.gitignore
|
|
|
|
|
git config --global core.excludesFile ~/.gitignore
|
2020-06-06 16:29:25 -05:00
|
|
|
git config --global user.name "$first $last"
|
|
|
|
|
git config --global user.email $email
|
|
|
|
|
|
2020-06-07 13:22:47 -05:00
|
|
|
mkdir -p ~/.solus/
|
|
|
|
|
echo -e "[Packager]\nName=$first $last\nEmail=$email" > ~/.solus/packager
|
2020-06-06 16:29:25 -05:00
|
|
|
|
|
|
|
|
arc set-config default https://dev.getsol.us
|
|
|
|
|
#arc install-certificate $phabtoken
|