mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
install vim instead of vi by default, only install intel-ucode on x86_64, amd-ucode on x86_64 and aarch64
This commit is contained in:
parent
5cc47c2ebb
commit
48dec6e744
1 changed files with 7 additions and 5 deletions
|
@ -118,14 +118,16 @@ auto_packages() {
|
|||
linux_firmware
|
||||
marvell_firmware
|
||||
### HACK:
|
||||
# always add intel-ucode
|
||||
# always add intel-ucode on x86_64
|
||||
if [[ "${RUNNING_ARCH}" == "x86_64" ]]; then
|
||||
PACKAGES="${PACKAGES//\ intel-ucode\ / }"
|
||||
PACKAGES="${PACKAGES} intel-ucode"
|
||||
fi
|
||||
# always add amd-ucode
|
||||
PACKAGES="${PACKAGES//\ amd-ucode\ / }"
|
||||
PACKAGES="${PACKAGES} amd-ucode"
|
||||
if [[ "${RUNNING_ARCH}" == "x86_64" || "${RUNNING_ARCH}" == "aarch64" ]]; then
|
||||
PACKAGES="${PACKAGES//\ amd-ucode\ / }"
|
||||
PACKAGES="${PACKAGES} amd-ucode"
|
||||
fi
|
||||
### HACK:
|
||||
# always add netctl with optdepends
|
||||
PACKAGES="${PACKAGES//\ netctl\ / }"
|
||||
|
@ -146,8 +148,8 @@ auto_packages() {
|
|||
# always add nano and vi
|
||||
PACKAGES="${PACKAGES//\ nano\ / }"
|
||||
PACKAGES="${PACKAGES} nano"
|
||||
PACKAGES="${PACKAGES//\ vi\ / }"
|
||||
PACKAGES="${PACKAGES} vi"
|
||||
PACKAGES="${PACKAGES//\ vim\ / }"
|
||||
PACKAGES="${PACKAGES} vim"
|
||||
}
|
||||
|
||||
# /etc/locale.gen
|
||||
|
|
Loading…
Reference in a new issue