|
|
|
|
@ -61,8 +61,13 @@ install_emerge() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
install_pacman() {
|
|
|
|
|
sudo pacman -Syy --noconfirm || true
|
|
|
|
|
sudo pacman -S --needed --noconfirm git gdb python python-pip python-capstone python-unicorn python-pycparser python-psutil python-ptrace python-pyelftools python-six python-pygments which debuginfod
|
|
|
|
|
read -p "Do you want to do a full system update? (y/n) [n] " answer
|
|
|
|
|
# user want to perfom a full system upgrade
|
|
|
|
|
answer=${answer:-n} # n is default
|
|
|
|
|
if [[ "$answer" == "y" ]]; then
|
|
|
|
|
sudo pacman -Syu || true
|
|
|
|
|
fi
|
|
|
|
|
sudo pacman -S --needed git gdb python python-pip python-capstone python-unicorn python-pycparser python-psutil python-ptrace python-pyelftools python-six python-pygments which debuginfod
|
|
|
|
|
if ! grep -q "^set debuginfod enabled on" ~/.gdbinit; then
|
|
|
|
|
echo "set debuginfod enabled on" >> ~/.gdbinit
|
|
|
|
|
fi
|
|
|
|
|
|