mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-08 08:16:20 +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"
|
default_timezone="UTC"
|
||||||
pacman_config="/etc/pacman.conf"
|
pacman_config="/etc/pacman.conf"
|
||||||
|
|
||||||
# sort of minimal package set
|
# by default, install 'base' except the kernel
|
||||||
base_packages=(
|
pkg_blacklist="linux"
|
||||||
"systemd"
|
base_packages=()
|
||||||
"systemd-sysvcompat"
|
for pkg in $(pacman -Sqg base); do
|
||||||
"filesystem"
|
[ "${pkg_blacklist#*$pkg}" = "$pkg_blacklist" ] && base_packages+=($pkg)
|
||||||
"coreutils"
|
done
|
||||||
"kmod"
|
|
||||||
"procps"
|
|
||||||
"psmisc"
|
|
||||||
"pacman"
|
|
||||||
"bash"
|
|
||||||
"cronie"
|
|
||||||
"iproute2"
|
|
||||||
"iputils"
|
|
||||||
"inetutils"
|
|
||||||
"dhcpcd"
|
|
||||||
"dnsutils"
|
|
||||||
"nano"
|
|
||||||
"grep"
|
|
||||||
"less"
|
|
||||||
"gawk"
|
|
||||||
"sed"
|
|
||||||
"tar"
|
|
||||||
"gzip"
|
|
||||||
"which"
|
|
||||||
)
|
|
||||||
declare -a additional_packages
|
declare -a additional_packages
|
||||||
|
|
||||||
# split comma-separated string into an array
|
# split comma-separated string into an array
|
||||||
|
Loading…
Reference in New Issue
Block a user