Commit 12cd132a by Leonid Isaev Committed by Stéphane Graber

archlinux: Fix default package selection

Do not cherry-pick packages for the default install to avoid dependency issues. Instead, install the base group modulo blacklisted packages. Signed-off-by: 's avatarLeonid Isaev <lisaev@umail.iu.edu> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent b6ac57f9
......@@ -47,32 +47,12 @@ default_locale="en-US.UTF-8"
default_timezone="UTC"
pacman_config="/etc/pacman.conf"
# sort of minimal package set
base_packages=(
"systemd"
"systemd-sysvcompat"
"filesystem"
"coreutils"
"kmod"
"procps"
"psmisc"
"pacman"
"bash"
"cronie"
"iproute2"
"iputils"
"inetutils"
"dhcpcd"
"dnsutils"
"nano"
"grep"
"less"
"gawk"
"sed"
"tar"
"gzip"
"which"
)
# by default, install 'base' except the kernel
pkg_blacklist="linux"
base_packages=()
for pkg in $(pacman -Sqg base); do
[ "${pkg_blacklist#*$pkg}" = "$pkg_blacklist" ] && base_packages+=($pkg)
done
declare -a additional_packages
# split comma-separated string into an array
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment