pkg download command and patches
This commit is contained in:
@ -1,9 +1,10 @@
|
||||
linux/kernel/modules 7.1.4
|
||||
linux/kernel/modules 7.2.3
|
||||
=
|
||||
https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.1.4.tar.xz
|
||||
https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.2.3.tar.xz
|
||||
|
||||
``` env *** env ***
|
||||
disable=true
|
||||
kernel_version=7.2.3
|
||||
```
|
||||
|
||||
``` sh *** patch ***
|
||||
@ -57,6 +58,10 @@ CONFIG_NVME_CORE=y
|
||||
CONFIG_NVME_HWMON=y
|
||||
CONFIG_F2FS_FS=y
|
||||
|
||||
# AI
|
||||
CONFIG_HSA_AMD=y
|
||||
CONFIG_DRM_AMDGPU_USERPTR=y
|
||||
|
||||
# AeroLinux conf
|
||||
CONFIG_CMDLINE_BOOL=y
|
||||
CONFIG_CMDLINE="root=PARTLABEL=aerolinux init=/pkg/gnu/s6/bin/s6-init rootwait rw console=tty0 earlycon=efifb loglevel=8 debug"
|
||||
@ -80,14 +85,9 @@ make olddefconfig
|
||||
./scripts/kconfig/merge_config.sh -m .config .config.base
|
||||
make olddefconfig
|
||||
make -j$(nproc) vmlinux modules
|
||||
make INSTALL_MOD_PATH=/pkg/gnu/linux/kernel/modules modules_install
|
||||
make MODLIB=/pkg/gnu/linux/kernel/modules/lib/$kernel_version modules_install
|
||||
mkdir -p /pkg/gnu/linux/kernel/var/certs
|
||||
cp System.map /pkg/gnu/linux/kernel/var/System.map
|
||||
cp .config /pkg/gnu/linux/kernel/var/config
|
||||
cp {certs/signing_key.pem,certs/signing_key.x509} /pkg/gnu/linux/kernel/var/certs || true
|
||||
```
|
||||
|
||||
``` sh *** config ***
|
||||
mv lib/modules/* lib
|
||||
rm -r lib/modules
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user