From 930d2e2bb0046aa629d7e61552491f5e04b36f71 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Wed, 31 Mar 2021 15:21:23 +0200 Subject: [PATCH] Add podman --- arch-setup/install.sh | 20 +++++++++++++++++--- arch-setup/packages/arco-pc-packages.txt | 1 - 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/arch-setup/install.sh b/arch-setup/install.sh index cb0d7052..f391ef33 100644 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -175,10 +175,12 @@ done in_doomemacs=0 #in_vscodium=0 +in_podman=0 -cmd=(dialog --separate-output --checklist "Code editors" 22 76 16) +cmd=(dialog --separate-output --checklist "Devtools" 22 76 16) options=(0 "doom-emacs" off - 1 "vscodium" off) + 1 "vscodium" off + 10 "Podman" off) choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) clear for choice in $choices @@ -194,6 +196,9 @@ do #in_vscodium=1 echo "vscodium-bin" >> "$setupdir/aurselectedpkgs.txt" ;; + 10) + in_podman=1 + ;; esac done @@ -592,7 +597,7 @@ else echo "Skipping auto-cpufreq" fi -#text editors +#devtools if [ $in_doomemacs -eq 1 ]; then echo "Installing doom-emacs" paru -S --needed git emacs ripgrep fd pandoc shellcheck python-pipenv python-isort python-pytest python-rednose pychecker texlive-core @@ -612,6 +617,15 @@ else fi ' +if [ $in_podman -eq 1 ]; then + echo "Installing podman" + sudo pacman -S --needed podman + sudo touch /etc/subuid /etc/subgid + sudo usermod --add-subuids 100000-165536 --add-subgids 100000-165536 "$USER" +else + echo "Skipping podman" +fi + : ' #other social stuff if [ $in_teams -eq 1 ]; then diff --git a/arch-setup/packages/arco-pc-packages.txt b/arch-setup/packages/arco-pc-packages.txt index 2c90f5fa..9e254bda 100644 --- a/arch-setup/packages/arco-pc-packages.txt +++ b/arch-setup/packages/arco-pc-packages.txt @@ -35,4 +35,3 @@ corefreq-git sysstat intellij-idea-ultimate-edition intellij-idea-ultimate-edition-jre -podman