Added new script that sets up Solus development environment
This commit is contained in:
parent
da3d956637
commit
214bd7823b
1 changed files with 35 additions and 0 deletions
35
solus_dev_setup.sh
Normal file
35
solus_dev_setup.sh
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
#!/bin/bash
|
||||
|
||||
first="Tracey"
|
||||
last="Clark"
|
||||
email="tracey_dev@tlcnet.info"
|
||||
phabtoken="replace_with_phabtoken"
|
||||
|
||||
# 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
|
||||
sudo eopkg install vscode htop zsh openssh vim
|
||||
|
||||
# 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 .
|
||||
|
||||
git config --global user.name "$first $last"
|
||||
git config --global user.email $email
|
||||
|
||||
mkdir -p ~/.config/solus/
|
||||
echo -e "Name=$first $last\nEmail=$email" > ~/.config/solus/packager
|
||||
|
||||
arc set-config default https://dev.getsol.us
|
||||
#arc install-certificate $phabtoken
|
||||
Loading…
Add table
Add a link
Reference in a new issue