mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
scripts: replace -vanilla kernel with -lts
also add doas to extended image
This commit is contained in:
parent
23623612c4
commit
46f4244a08
@ -6,7 +6,7 @@ TARGET_ARCH="$1"
|
||||
SUDO_APK=abuild-apk
|
||||
|
||||
# optional cross build packages
|
||||
KERNEL_PKG="linux-firmware linux-vanilla"
|
||||
KERNEL_PKG="linux-firmware linux-lts"
|
||||
|
||||
# get abuild configurables
|
||||
[ -e /usr/share/abuild/functions.sh ] || (echo "abuild not found" ; exit 1)
|
||||
@ -46,7 +46,7 @@ Steps for introducing new architecture include:
|
||||
- adding the arch type detection to apk-tools
|
||||
- adjusting build rules for packages that are arch aware:
|
||||
gcc, openssl, linux-headers
|
||||
- create new kernel config for linux-vanilla
|
||||
- create new kernel config for linux-lts
|
||||
|
||||
After these steps the initial cross-build can be completed
|
||||
by running this with the target arch as parameter, e.g.:
|
||||
|
||||
@ -118,7 +118,7 @@ profile_uboot() {
|
||||
Supports armhf and aarch64."
|
||||
image_ext="tar.gz"
|
||||
arch="aarch64 armhf armv7"
|
||||
kernel_flavors="vanilla"
|
||||
kernel_flavors="lts"
|
||||
kernel_addons="xtables-addons"
|
||||
initfs_features="base bootchart squashfs ext4 kms mmc raid scsi usb"
|
||||
apkovl="genapkovl-dhcp.sh"
|
||||
|
||||
@ -12,7 +12,7 @@ profile_netboot() {
|
||||
"
|
||||
arch="aarch64 armhf armv7 ppc64le x86 x86_64 s390x"
|
||||
kernel_cmdline="nomodeset"
|
||||
kernel_flavors="vanilla"
|
||||
kernel_flavors="lts"
|
||||
modloop_sign=yes
|
||||
apks=""
|
||||
initfs_features="base network squashfs usb virtio"
|
||||
|
||||
@ -30,9 +30,9 @@ profile_extended() {
|
||||
Suitable for routers and servers.
|
||||
Runs from RAM."
|
||||
arch="x86 x86_64"
|
||||
kernel_addons="dahdi-linux xtables-addons zfs spl"
|
||||
kernel_addons="xtables-addons zfs"
|
||||
apks="$apks
|
||||
dahdi-linux dahdi-tools ethtool hwdata lftp links
|
||||
ethtool hwdata lftp links doas
|
||||
logrotate lua5.3 lsof lm_sensors lxc lxc-templates nano
|
||||
pax-utils paxmark pciutils screen strace sudo tmux
|
||||
usbutils v86d vim xtables-addons curl
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user