From 1223a855bf1d1acdc48af1678dfa4d6a6dc8e454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki-Chudyk?= Date: Thu, 23 Jun 2016 18:29:52 +0200 Subject: [PATCH 1/2] made the package list compatible with Fedora 24 --- fedora/configure_fresh_system | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fedora/configure_fresh_system b/fedora/configure_fresh_system index 560059f9..dfbeed50 100755 --- a/fedora/configure_fresh_system +++ b/fedora/configure_fresh_system @@ -1,8 +1,9 @@ #!/bin/bash +set -e #software and shell sudo dnf -y upgrade --best --allowerasing -sudo dnf -y --best --allowerasing install vim tmux atop zsh thunderbird thunderbird-enigmail thunderbird-lightning firefox aria2 gajim lm_sensors freecad python3-pip qt5-qtbase-devel qt5-qtwebkit-devel meld whois curl pv tor torsocks nodejs npm terminator gsmartcontrol python-pip mercurial python-devel libxslt-devel libjpeg-turbo-devel conky conky-manager redshift redshift-gtk cmake gtk2-devel intltool gparted wine solaar glances the_silver_searcher dkms kernel-devel gimp transmission-gtk +sudo dnf -y --best --allowerasing install vim tmux atop zsh thunderbird thunderbird-enigmail thunderbird-lightning firefox aria2 gajim lm_sensors freecad python3-pip qt5-qtbase-devel qt5-qtwebkit-devel meld whois curl pv tor torsocks nodejs terminator gsmartcontrol python-pip mercurial python-devel libxslt-devel libjpeg-turbo-devel conky conky-manager redshift redshift-gtk cmake gtk2-devel intltool gparted wine solaar glances the_silver_searcher dkms kernel-devel gimp transmission-gtk util-linux-user FEDORA_VERSION=`rpm -E %fedora` sudo dnf -y install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$FEDORA_VERSION.noarch.rpm sudo dnf -y install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$FEDORA_VERSION.noarch.rpm From fb694b56ab86f8c5b3a8fadd7e4b91a7586abc86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki-Chudyk?= Date: Thu, 23 Jun 2016 18:35:56 +0200 Subject: [PATCH 2/2] use as many jobs in cargo as there are processors --- common/configure_fresh_system | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/configure_fresh_system b/common/configure_fresh_system index 0d6d4e1d..a475bb7d 100755 --- a/common/configure_fresh_system +++ b/common/configure_fresh_system @@ -12,6 +12,7 @@ if [[ -z $DONT_CHANGE_SHELL ]]; then fi CURL="curl -sSf" +jobs_count=`nproc` #submodules DIR=`realpath $DIR` @@ -92,8 +93,8 @@ set +e cargo uninstall rustfmt cargo uninstall racer set -e -cargo install rustfmt -cargo install racer +cargo install -j $jobs_count rustfmt +cargo install -j $jobs_count racer # rvm gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3