mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2024-09-20 11:23:16 +00:00
877e7b1b61
We don't have any riscv64 kernel in main yet. This fixes the build of release images, which requires that all packages are in main.
86 lines
2.3 KiB
Bash
Executable file
86 lines
2.3 KiB
Bash
Executable file
profile_standard() {
|
|
title="Standard"
|
|
desc="Alpine as it was intended.
|
|
Just enough to get you started.
|
|
Network connection is required."
|
|
profile_base
|
|
profile_abbrev="std"
|
|
image_ext="iso"
|
|
arch="aarch64 armv7 x86 x86_64 ppc64le s390x loongarch64"
|
|
output_format="iso"
|
|
kernel_addons="xtables-addons"
|
|
case "$ARCH" in
|
|
s390x)
|
|
apks="$apks s390-tools"
|
|
initfs_features="$initfs_features dasd_mod qeth zfcp"
|
|
initfs_cmdline="modules=loop,squashfs,dasd_mod,qeth,zfcp quiet"
|
|
;;
|
|
ppc64le)
|
|
initfs_cmdline="modules=loop,squashfs,sd-mod,usb-storage,ibmvscsi quiet"
|
|
;;
|
|
esac
|
|
apks="$apks iw wpa_supplicant"
|
|
}
|
|
|
|
profile_extended() {
|
|
profile_standard
|
|
profile_abbrev="ext"
|
|
title="Extended"
|
|
desc="Most common used packages included.
|
|
Suitable for routers and servers.
|
|
Runs from RAM.
|
|
Includes AMD and Intel microcode updates."
|
|
arch="x86 x86_64"
|
|
kernel_addons="xtables-addons zfs"
|
|
boot_addons="amd-ucode intel-ucode"
|
|
initrd_ucode="/boot/amd-ucode.img /boot/intel-ucode.img"
|
|
apks="$apks
|
|
coreutils ethtool hwids doas
|
|
logrotate lsof lm_sensors lxc lxc-templates nano
|
|
pciutils strace tmux
|
|
usbutils v86d vim xtables-addons curl
|
|
|
|
acct arpon arpwatch awall bridge-utils bwm-ng
|
|
ca-certificates conntrack-tools cutter cyrus-sasl dhcp
|
|
dhcpcd dhcrelay dnsmasq fping fprobe htop
|
|
igmpproxy ip6tables iproute2 iproute2-qos
|
|
iptables iputils nftables iw kea ldns-tools links
|
|
ncurses-terminfo net-snmp net-snmp-tools nrpe nsd
|
|
opennhrp openvpn pingu ppp quagga
|
|
quagga-nhrp rng-tools sntpc socat ssmtp strongswan
|
|
sysklogd tcpdump tinyproxy unbound
|
|
wireguard-tools wireless-tools wpa_supplicant zonenotify
|
|
|
|
btrfs-progs cksfv dosfstools cryptsetup
|
|
e2fsprogs e2fsprogs-extra efibootmgr f2fs-tools
|
|
grub-bios grub-efi lvm2 lz4 mdadm mkinitfs mtools nfs-utils
|
|
parted rsync sfdisk syslinux util-linux xfsprogs zstd zfs
|
|
"
|
|
|
|
local _k _a
|
|
for _k in $kernel_flavors; do
|
|
apks="$apks linux-$_k"
|
|
for _a in $kernel_addons; do
|
|
apks="$apks $_a-$_k"
|
|
done
|
|
done
|
|
apks="$apks linux-firmware linux-firmware-none"
|
|
}
|
|
|
|
profile_virt() {
|
|
profile_standard
|
|
profile_abbrev="virt"
|
|
title="Virtual"
|
|
desc="Similar to standard.
|
|
Slimmed down kernel.
|
|
Optimized for virtual systems."
|
|
arch="aarch64 armv7 x86 x86_64"
|
|
kernel_addons=
|
|
kernel_flavors="virt"
|
|
case "$ARCH" in
|
|
arm*|aarch64)
|
|
kernel_cmdline="console=tty0 console=ttyAMA0"
|
|
;;
|
|
esac
|
|
syslinux_serial="0 115200"
|
|
}
|