Compare commits

...

3 commits

Author SHA1 Message Date
Tobias Powalowski
274678334e move all _PACKAGES initialization to common.sh 2024-09-09 14:15:56 +02:00
Tobias Powalowski
0428c86c26 revert firmware changes 2024-09-09 14:11:54 +02:00
Tobias Powalowski
2c7726a14e revert firmware changes 2024-09-09 14:06:15 +02:00
7 changed files with 7 additions and 9 deletions

View file

@ -4,6 +4,8 @@
_PACKAGES=(
base
linux
linux-firmware
linux-firmware-marvell
polkit
)
# grub setup

View file

@ -42,7 +42,6 @@ _prepare_pacman() {
# package_installation
_install_packages() {
. /etc/archboot/defaults
_auto_packages
#shellcheck disable=SC2068
${_PACMAN} -S ${_PACKAGES[@]}

View file

@ -24,10 +24,6 @@ _KEYRING=(archlinux-keyring)
_LABEL="Exit"
_LOCAL_DB="${_CACHEDIR}/archboot.db"
_LOG="/dev/tty11"
_LINUX_FIRMWARE=(
linux-firmware
linux-firmware-marvell
)
_MAN_INFO_PACKAGES=(
man-db
man-pages

View file

@ -159,7 +159,6 @@ _install_base_packages() {
else
_MKINITCPIO=initramfs
fi
_PACKAGES+=(${_LINUX_FIRMWARE[@]})
if [[ "${2}" == "use_binfmt" ]]; then
#shellcheck disable=SC2068,SC2145
echo "Downloading ${_KEYRING[@]} ${_PACKAGES[@]} to ${1}..."

View file

@ -96,6 +96,10 @@ _local_pacman_conf() {
}
_auto_packages() {
# add packages from Archboot defaults
. /etc/archboot/defaults
# remove linux-firmware packages first
_PACKAGES=(${_PACKAGES[@]/linux-firmware*})
# Add filesystem packages
if ${_LSBLK} FSTYPE | rg -q 'bcachefs'; then
! echo "${_PACKAGES[@]}" | rg -qw 'bcachefs-tools' && _PACKAGES+=(bcachefs-tools)

View file

@ -62,8 +62,6 @@ _run_autoconfig() {
_install_packages() {
_destdir_mounts || return 1
# add packages from Archboot defaults
. /etc/archboot/defaults
_auto_packages
#shellcheck disable=SC2116,SC2068
_dialog --title " Summary " --yesno "Next step will install the following packages for a minimal system:\n$(echo ${_PACKAGES[@]})\n\nYou can watch the progress on your ${_VC} console." 9 75 || return 1

View file

@ -20,7 +20,7 @@ _download_packages() {
_pacman_key_system
fi
#shellcheck disable=SC2206
_PACKAGES+=(${_KEYRING[@]} ${_LINUX_FIRMWARE[@]} ${_ARCHBOOT} ${_MAN_INFO_PACKAGES[@]})
_PACKAGES+=(${_KEYRING[@]} ${_ARCHBOOT} ${_MAN_INFO_PACKAGES[@]})
#shellcheck disable=SC2145
echo "Downloading ${_PACKAGES[@]} to ${1}..."
#shellcheck disable=SC2086,SC2068