pkg download command and patches

This commit is contained in:
2026-09-10 16:59:11 +03:00
parent c6dcbc1ca5
commit b099c3d88b
110 changed files with 1582 additions and 332 deletions

View File

@ -0,0 +1,19 @@
linux/kernel/firmware/wireless-regdb
=
https://git.kernel.org/pub/scm/linux/kernel/git/wens/wireless-regdb.git/snapshot/wireless-regdb-master-2026-09-03.tar.gz
``` sh *** build ***
mkdir -p ../lib
cp -Pl regulatory.db regulatory.db.p7s ../lib
```
``` sh *** config ***
pkg run set linux/kernel/firmware/wireless-regdb
```
``` sh *** set ***
cp -rPl lib ../
```
# wireless regulatory db
https://git.kernel.org/pub/scm/linux/kernel/git/wens/wireless-regdb.git/

View File

@ -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
```