mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-03 21:21:39 +00:00
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: Leonid Isaev <lisaev@umail.iu.edu> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
6a7f2dcdb8
commit
b7b7d3884e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user