Compare commits

...
37 Commits
Author SHA1 Message Date
EnumDev 34903370ea Update package version to 7.1.10 2026-09-04 15:57:38 +03:00
EnumDev d16fc14531 Enable different power state config options 2026-07-30 13:20:08 +03:00
EnumDev c33adef3a7 Rebuild package 2026-07-10 19:15:54 +03:00
EnumDev 5de163cb78 Update package version to 7.1.3 2026-07-08 13:33:32 +03:00
EnumDev 40b72965f4 Update package version to 7.1.1 2026-06-21 11:34:09 +03:00
EnumDev ea23648965 Switch to new package format 2026-06-13 20:00:17 +03:00
EnumDev 7b72aa44b4 Update package version to 7.0.11 2026-06-07 16:32:24 +03:00
EnumDev 0778525cd4 Enable i2c and smbus 2026-05-28 19:00:15 +03:00
EnumDev bace9f9961 Improve NVME support and enable Steam Force Feedback 2026-05-28 16:10:56 +03:00
EnumDev 2fb93ed035 Update package version to 7.0.10 2026-05-28 16:10:47 +03:00
EnumDev 44591cbd39 Update package version to 7.0.8 2026-05-17 16:18:38 +03:00
EnumDev 1973e73c2a Create headers split package for DKMS support 2026-05-09 17:41:01 +03:00
EnumDev 8d68652319 Update package version to 7.0.3 2026-05-02 18:24:44 +03:00
EnumDev b23ff121e9 Update package version to 7.0.1 2026-04-26 16:17:19 +03:00
EnumDev 71b5b65a7a Update package version to 6.19.12 2026-04-20 12:19:18 +03:00
EnumDev 0bde3811b0 Restrict dmesg by default 2026-04-16 17:26:38 +03:00
EnumDev 3c5e83b32c Enable apparmor 2026-04-07 17:02:34 +03:00
EnumDev 1beec0576a Enable ntsync 2026-04-07 15:10:00 +03:00
EnumDev 2175f70fb5 Update package version to 6.19.11 2026-04-04 12:55:33 +03:00
EnumDev da96155368 Update package version to 6.19.10 2026-03-29 21:44:56 +03:00
EnumDev 379eab3a63 Update package version to 6.19.9 2026-03-21 21:22:33 +02:00
EnumDev d7a35a885a Update package version to 6.19.8 2026-03-15 09:57:34 +02:00
EnumDev 7f9c90906d Add multimedia support 2026-03-09 23:08:09 +02:00
EnumDev 0be844f56a Update package version to 6.19.6 2026-03-08 13:37:50 +02:00
EnumDev d886f49060 Update package version to 6.19.4 2026-02-27 16:16:11 +02:00
EnumDev 44d2c1fc05 Update package version to 6.19.3 2026-02-20 18:22:36 +02:00
EnumDev 0b66109984 Update package version to 6.18.10 2026-02-13 20:48:22 +02:00
EnumDev e4aa535ca2 Update package version to 6.18.9 2026-02-08 16:50:03 +02:00
EnumDev 26d718dc7b Update package version to 6.18.8 2026-02-01 10:47:06 +02:00
EnumDev b69a083cae Update package version to 6.18.7 2026-01-23 16:13:31 +02:00
EnumDev 430b1d40bd Update package version to 6.18.5 2026-01-17 15:08:24 +02:00
EnumDev 060b82f3bc Update package version to 6.18.4 2026-01-10 14:55:19 +02:00
EnumDev 510a4a9a7b Update package version to 6.18.3 2026-01-02 21:52:39 +02:00
EnumDev 123aa13fe4 Split package, rename kernel file and move modules from lib to usr/lib 2026-01-02 21:23:40 +02:00
EnumDev 43b0d63466 Enable different HID options 2026-01-02 16:51:38 +02:00
EnumDev 08cccf2056 Improve bluetooth support 2025-12-29 12:47:09 +02:00
EnumDev 36b38c0733 Enable framebuffer support 2025-12-29 11:10:52 +02:00
6 changed files with 1824 additions and 618 deletions
+3 -2
View File
@@ -1,2 +1,3 @@
# Exclude bpm archives
*.bpm
# Ignore BPM archives and signatures
*.bpm
*.bpm.sig
+53
View File
@@ -0,0 +1,53 @@
name: linux-stable
description: The stable version of the linux kernel
version: 7.1.10
revision: 1
url: https://www.kernel.org/
license: GPL2-only
maintainers:
- [email protected]
architecture: any
type: source
make_depends:
- bc
- clang
- cpio
- gettext
- libelf
- lld
- llvm
- openssl
- pahole
- perl
- rustc
- rust-bindgen
- rust-src
- xz-utils
- zlib
- zstd
downloads:
- url: https://cdn.kernel.org/pub/linux/kernel/v${BPM_PKG_VERSION%%.*}.x/linux-${BPM_PKG_VERSION}.tar.xz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 67d2f4697a02f3bec98e744b1bdc307e920c24bb4e88b5ee97dc9a34e9aa9999
split_packages:
- name: linux-stable
optional_depends:
- linux-stable-docs:For documentation
- linux-stable-headers:For building modules
- name: linux-stable-headers
description: The stable version of the linux kernel (Headers)
depends:
- linux-stable
- binutils
- lld
- llvm
- openssl
- pahole
- xxhash
- zlib
- zstd
- name: linux-stable-docs
description: The stable version of the linux kernel (Documentation)
depends:
- linux-stable
-25
View File
@@ -1,25 +0,0 @@
name: linux-stable
description: The stable version of the linux kernel
version: 6.18.2
revision: 3
url: https://www.kernel.org/
license: GPL2-only
architecture: any
type: source
make_depends:
- bc
- clang
- cpio
- gettext
- libelf
- lld
- llvm
- perl
- rustc
- rust-bindgen
- rust-src
downloads:
- url: https://cdn.kernel.org/pub/linux/kernel/v${BPM_PKG_VERSION%%.*}.x/linux-${BPM_PKG_VERSION}.tar.xz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 558c6bbab749492b34f99827fe807b0039a744693c21d3a7e03b3a48edaab96a
+141
View File
@@ -0,0 +1,141 @@
# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# The prepare function is executed in the root of the temp directory
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
cd "$BPM_SOURCE"
make mrproper
cp ../config .config
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
make LLVM=1 olddefconfig
make LLVM=1
make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package_linux-stable() {
# Install kernel modules
make INSTALL_MOD_PATH="$BPM_OUTPUT"/usr INSTALL_MOD_STRIP=1 modules_install
# Install kernel image and config
install -Dm644 arch/x86/boot/bzImage "$BPM_OUTPUT"/boot/vmlinuz-linux-stable
install -Dm644 .config "$BPM_OUTPUT"/boot/config-linux-stable
# Remove build link
rm "$BPM_OUTPUT"/usr/lib/modules/$(make -s kernelrelease)/build
# Install package licenses
install -d "$BPM_OUTPUT"/usr/share/licenses
cp -r "$BPM_SOURCE"/LICENSES "$BPM_OUTPUT"/usr/share/licenses/linux-stable
}
package_linux-stable-headers() {
local builddir="$BPM_OUTPUT"/usr/lib/modules/$(make -s kernelrelease)/build
local karch
case $CARCH in
x86_64) karch=x86 ;;
*) echo "Unknown CARCH $CARCH"; exit 1 ;;
esac
echo "Installing build files..."
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map vmlinux tools/bpf/bpftool/vmlinux.h
install -Dt "$builddir/kernel" -m644 kernel/Makefile
install -Dt "$builddir/arch/$karch" -m644 arch/$karch/Makefile
cp -t "$builddir" -a scripts
ln -srt "$builddir" "$builddir/scripts/gdb/vmlinux-gdb.py"
if [[ $(scripts/config -s CONFIG_HAVE_STACK_VALIDATION) = y ]]; then
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
fi
if [[ $(scripts/config -s CONFIG_DEBUG_INFO_BTF_MODULES) = y ]]; then
install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids
fi
echo "Installing headers..."
cp -t "$builddir" -a include
cp -t "$builddir/arch/$karch" -a arch/$karch/include
install -Dt "$builddir/arch/$karch/kernel" -m644 arch/$karch/kernel/asm-offsets.s
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
echo "Installing KConfig files..."
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
echo "Installing Rust files..."
if [[ $(scripts/config -s CONFIG_RUST) = y ]]; then
install -Dt "$builddir/rust" -m644 rust/*.rmeta
install -Dt "$builddir/rust" rust/*.so
fi
echo "Installing unstripped VDSO..."
make INSTALL_MOD_PATH="$BPM_OUTPUT"/usr vdso_install \
link= # Suppress build-id symlinks
echo "Removing unneeded architectures..."
local arch
for arch in "$builddir"/arch/*/; do
[[ $arch = */$karch/ ]] && continue
echo "Removing $(basename "$arch")"
rm -r "$arch"
done
echo "Removing documentation..."
rm -r "$builddir/Documentation"
echo "Removing broken symlinks..."
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
echo "Removing loose objects..."
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
echo "Stripping build tools..."
local file
while read -rd '' file; do
case "$(file -Sib "$file")" in
application/x-sharedlib\;*) # Libraries (.so)
strip -v $STRIP_SHARED "$file" ;;
application/x-archive\;*) # Libraries (.a)
strip -v $STRIP_STATIC "$file" ;;
application/x-executable\;*) # Binaries
strip -v $STRIP_BINARIES "$file" ;;
application/x-pie-executable\;*) # Relocatable binaries
strip -v $STRIP_SHARED "$file" ;;
esac
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
echo "Stripping vmlinux..."
strip -v $STRIP_STATIC "$builddir/vmlinux"
echo "Adding symlink..."
mkdir -p "$BPM_OUTPUT"/usr/src
ln -sr "$builddir" "$BPM_OUTPUT"/usr/src/linux-stable
}
package_linux-stable-docs() {
# Install documentation
install -d "$BPM_OUTPUT"/usr/share/doc/
cp -r Documentation "$BPM_OUTPUT"/usr/share/doc/linux-stable
# Install package licenses
install -d "$BPM_OUTPUT"/usr/share/licenses
ln -sf linux-stable "$BPM_OUTPUT"/usr/share/licenses/linux-stable-docs
}
+1627 -552
View File
File diff suppressed because it is too large Load Diff
-39
View File
@@ -1,39 +0,0 @@
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# The prepare function is executed in the root of the temp directory
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
cd "$BPM_SOURCE"
make mrproper
cp ../config .config
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
make LLVM=1 olddefconfig
make LLVM=1
make LLVM=1 headers
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
# Install kernel modules
make INSTALL_MOD_PATH="$BPM_OUTPUT" modules_install
# Install kernel image and config
install -Dm644 arch/x86/boot/bzImage "$BPM_OUTPUT"/boot/vmlinuz-"$BPM_PKG_VERSION"-tide
install -Dm644 .config "$BPM_OUTPUT"/boot/config-"$BPM_PKG_VERSION"-tide
# Install kernel headers
find usr/include -type f ! -name '*.h' -delete
install -d "$BPM_OUTPUT"/usr/include
cp -r usr/include/. "$BPM_OUTPUT"/usr/include/
# Install documentation
install -d "$BPM_OUTPUT"/usr/share/doc/
cp -r Documentation "$BPM_OUTPUT"/usr/share/doc/linux-"$BPM_PKG_VERSION"-tide
}