commit: 224372c72199927c06944385da1e6ff0b3554573 Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> AuthorDate: Thu Feb 12 16:50:38 2026 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Thu Feb 12 17:02:06 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=224372c7
sys-kernel/raspberrypi-sources: drop old Closes: https://bugs.gentoo.org/915865 (obsolete) Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> sys-kernel/raspberrypi-sources/Manifest | 4 - ...aspberrypi-sources-5.15.32-gentoo-kconfig.patch | 474 --------------------- .../raspberrypi-sources-5.15.76_p20221104.ebuild | 75 ---- .../raspberrypi-sources-5.15.84_p20230106.ebuild | 75 ---- 4 files changed, 628 deletions(-) diff --git a/sys-kernel/raspberrypi-sources/Manifest b/sys-kernel/raspberrypi-sources/Manifest index 9832e5e3ecd1..e97e175b0cb2 100644 --- a/sys-kernel/raspberrypi-sources/Manifest +++ b/sys-kernel/raspberrypi-sources/Manifest @@ -1,5 +1,3 @@ -DIST genpatches-5.15-22.base.tar.xz 986832 BLAKE2B 48fcd267e6e28850d226693b902fd66696024e75db6a75bb78ec79c7ac8afdac62643c4113ff205c301024d245f075716e0bf8083f97917dcfc8b1fcd71b674e SHA512 e8c64bd91caedc3dcd98301dbcbd2003b4aceb5a9713bd908a69448eaa2aea945fa8162e57442862b03daa0e1a4e7642e4504701b1f34a6edb127692e582e0e0 -DIST genpatches-5.15-22.extras.tar.xz 3876 BLAKE2B 95daac6c95b82d628c0551b4e18e7c3ad9a5722b5ab8f087889b15bdeea8c6f5e232ee8b365bfb4a7c6730207d4735a0fb648b389626f35cda2593caa83ff3e2 SHA512 0616c4a976d22a5491039a6bc3babdd7e9095a2c53e2a1530d1ecfcf50a2dbfca637c1b6771078efc92e3371ac15f332f85f653d267ea8e6262ffd305be2723a DIST genpatches-6.1-25.base.tar.xz 1200876 BLAKE2B 7050f6e95a28f5886cce9b53823f6219a22a5b23cad5471bfa9e83eca208b8369395075e9aabdbe4d33b53b8c01aff3d3d0886115850e327baf12a946b851e1d SHA512 ea30e0d44ab64a2aa36ad7a83cf2df7924ba5e699c92268bc5f3d54acadefc9c836a00e7e27cc02400a6751ffe1c3cd45e6b9891a3fc0aa8d23ad8e535f18e4c DIST genpatches-6.1-25.extras.tar.xz 3812 BLAKE2B f73698c57031c9d7f5edd9ba2b865e32064c38b528649a8144f856bacf35ae3570d1fc936ee25a88bd52fd0765fff05bec42686b8b3fc5566df187bd57d59be5 SHA512 ac2bdccbc6bd1de82cbdfe4edac978e068445b8e064bcc6a833b04f15b86592304c19651884dc0769719ade1b220c8c0f704beca240ce24ab370621ad6849aee DIST genpatches-6.12-53.base.tar.xz 3158264 BLAKE2B 3918929e67fd38befe0ce004ede77239cb7e42c9e4bdc6675575655ecb8bdc6a223b78e461d2e40dd956bef3bbe96947602586308fff52cf34ed7e6de94173ee SHA512 3e0ad430b1bf03d97a1ec83dc42350bf52a0c3d328fdeafe1942528c1bc036ccba370b3b37be4184cc0284d92797865abb0c1fc8bca784ca7d1e147965bf9bf0 @@ -8,8 +6,6 @@ DIST genpatches-6.6-38.base.tar.xz 2066552 BLAKE2B 61205dc2b5d17f15af23d8eb8af07 DIST genpatches-6.6-38.extras.tar.xz 4052 BLAKE2B 7d25eaaf329cc043fd5189114c5d100f2a3dad9a97b0c87cfc9541ff95ffeb9e3a8a723e5c4fa1f9241c4fd67aac5aa1e4aba96f5cedad5609463b96bc272da7 SHA512 d5957d7ca9718bf87621fb4200b5bbc4e1457fc7fda1500714fc88730a4dfd4dce81e386bd2a2f88e02aff16c46e35402421439e6393a5ad15848d26d9056b44 DIST genpatches-6.6-54.base.tar.xz 2922380 BLAKE2B f65404127bb6547208aeddac1996a4a2659bd99ff7429bcaff28247a867c000e962457725eab80db2c76297f1e5c27806dc6fb23e31d5694b6df783e65995227 SHA512 102f721f87478ad18599bb5ff65cd236180dd3d9d058786a5306cb36be3f30a2d2ef684e83b6f458d4de78a196323e87d346eba704bfbce733010aed6ac3d7f9 DIST genpatches-6.6-54.extras.tar.xz 4060 BLAKE2B 22ea7d143bfe168bc5d9d30832423bcd33b49c1b3b5ddf031000d7d9fce96f6fa0fb1d06fd33b27a5de9c9f3833a139557f0ed7408ef12b23568784ff38ca7a9 SHA512 1b1a229b5923e7f3426139b17608b5feae6061313f7aea66de23f09a54696def39bf4b384c4e884a3e5c758c08e04dcfe1ab7f2aa331db74b59f5e511c6f2c5b -DIST linux-5.15.76_p20221104-raspberrypi.tar.gz 199660690 BLAKE2B 899714102e52904b7a37d155e42e94ed4b0e6c6600ac40fbd3cf66d15f84bb6d06afa7acf5c9624f44e9888d03d101823b419547d7ad8e566b4e55aaa077f11b SHA512 648262937e0afdb331678e0b2f913ad22788f1373f9ecd0d495e748a78399d6a69e93024268e1c0567acb4b1c9242b3ca6bd060e73b91a77529a93e4e29181c6 -DIST linux-5.15.84_p20230106-raspberrypi.tar.gz 199714807 BLAKE2B f3579d4b16921141055c0a62787084d2fb7db057bf9205c45e4a6515969bd3136a0dfe08c26848e691a5ea74d1f23533e4352c8fe70edf4b7000785958caf6ea SHA512 97ed02f35b42f144db72f802339f4952148596e3e5a0725fedd7a57618c1695cb802d58f6183e257ebfd242d35bf69f1eefea78ab9df109f6158af713d7d5f30 DIST linux-6.1.21_p20230405-raspberrypi.tar.gz 221783059 BLAKE2B 5e9e13b6410df1b9e4bcdef85a6b33de83621a74d89bb6760dcff86cd736262513f613e9279a8dccf5ca306a807c16652084a3e6b4cb34c3658a8e9e3196c5d1 SHA512 0c8252833bb737977c0981ed48764ff9742de7cb494fefec532c90312e0d8e0e48a230dd14a0d6f99b54b015e6c91e647b579f2ef7408b80e349a547767d9925 DIST linux-6.12.47_p20250916-raspberrypi.tar.gz 246822724 BLAKE2B 65250b110ddc9b0510e2e64f1b15c43495a8e073dde40f43c6c0257ffe377067c4d6125aa3c5a2ae39af8586e3d98ac54efd73500774351b48ab57edf6441e42 SHA512 5818d7ac495dc31a27c9b967bf146d291ab6fd06b99e819d9c685d5413472593cd99a4d7ce10218c45d7fb631adceed8e20806b1f2f9909277ce0de7ad204565 DIST linux-6.6.31_p20240529-raspberrypi.tar.gz 230924637 BLAKE2B bf8e5aba5597e98279b1c9d007112f57175c7cab15acbd2e9a7151f6290d3f1bee10299344b2655ade3cf2c73035b8f6e7fc9071d182a4c4ab839937fb0b59ef SHA512 3eb710dab82783a5254169e5bc2ac59fe4d3bd0fffbfd7a119a6182767b48186f4505d551fd7cc9ff002abf957e82108242d5a101266f77146d514fe3116fea5 diff --git a/sys-kernel/raspberrypi-sources/files/raspberrypi-sources-5.15.32-gentoo-kconfig.patch b/sys-kernel/raspberrypi-sources/files/raspberrypi-sources-5.15.32-gentoo-kconfig.patch deleted file mode 100644 index 8c8535a86a03..000000000000 --- a/sys-kernel/raspberrypi-sources/files/raspberrypi-sources-5.15.32-gentoo-kconfig.patch +++ /dev/null @@ -1,474 +0,0 @@ -diff --git a/Kconfig b/Kconfig -index 745bc773f567..16628b0c76d9 100644 ---- a/Kconfig -+++ b/Kconfig -@@ -5,6 +5,8 @@ - # - mainmenu "Linux/$(ARCH) $(KERNELVERSION) Kernel Configuration" - -+source "distro/Kconfig" -+ - source "scripts/Kconfig.include" - - source "init/Kconfig" -diff --git a/distro/Kconfig b/distro/Kconfig -new file mode 100644 -index 000000000000..531a636c959d ---- /dev/null -+++ b/distro/Kconfig -@@ -0,0 +1,378 @@ -+menu "Gentoo Linux" -+ -+config GENTOO_LINUX -+ bool "Gentoo Linux support" -+ -+ default y -+ -+ select CPU_FREQ_DEFAULT_GOV_SCHEDUTIL -+ -+ help -+ In order to boot Gentoo Linux a minimal set of config settings needs to -+ be enabled in the kernel; to avoid the users from having to enable them -+ manually as part of a Gentoo Linux installation or a new clean config, -+ we enable these config settings by default for convenience. -+ -+ See the settings that become available for more details and fine-tuning. -+ -+config GENTOO_LINUX_UDEV -+ bool "Linux dynamic and persistent device naming (userspace devfs) support" -+ -+ depends on GENTOO_LINUX -+ default y if GENTOO_LINUX -+ -+ select DEVTMPFS -+ select TMPFS -+ select UNIX -+ -+ select MMU -+ select SHMEM -+ -+ help -+ In order to boot Gentoo Linux a minimal set of config settings needs to -+ be enabled in the kernel; to avoid the users from having to enable them -+ manually as part of a Gentoo Linux installation or a new clean config, -+ we enable these config settings by default for convenience. -+ -+ Currently this only selects TMPFS, DEVTMPFS and their dependencies. -+ TMPFS is enabled to maintain a tmpfs file system at /dev/shm, /run and -+ /sys/fs/cgroup; DEVTMPFS to maintain a devtmpfs file system at /dev. -+ -+ Some of these are critical files that need to be available early in the -+ boot process; if not available, it causes sysfs and udev to malfunction. -+ -+ To ensure Gentoo Linux boots, it is best to leave this setting enabled; -+ if you run a custom setup, you could consider whether to disable this. -+ -+config GENTOO_LINUX_PORTAGE -+ bool "Select options required by Portage features" -+ -+ depends on GENTOO_LINUX -+ default y if GENTOO_LINUX -+ -+ select CGROUPS -+ select NAMESPACES -+ select IPC_NS -+ select NET_NS -+ select PID_NS -+ select SYSVIPC -+ select USER_NS -+ select UTS_NS -+ -+ help -+ This enables options required by various Portage FEATURES. -+ Currently this selects: -+ -+ CGROUPS (required for FEATURES=cgroup) -+ IPC_NS (required for FEATURES=ipc-sandbox) -+ NET_NS (required for FEATURES=network-sandbox) -+ PID_NS (required for FEATURES=pid-sandbox) -+ SYSVIPC (required by IPC_NS) -+ -+ -+ It is highly recommended that you leave this enabled as these FEATURES -+ are, or will soon be, enabled by default. -+ -+menu "Support for init systems, system and service managers" -+ visible if GENTOO_LINUX -+ -+config GENTOO_LINUX_INIT_SCRIPT -+ bool "OpenRC, runit and other script based systems and managers" -+ -+ default n -+ -+ depends on GENTOO_LINUX -+ -+ select BINFMT_SCRIPT -+ select CGROUPS -+ select EPOLL -+ select FILE_LOCKING -+ select INOTIFY_USER -+ select SIGNALFD -+ select TIMERFD -+ -+ help -+ The init system is the first thing that loads after the kernel booted. -+ -+ These config settings allow you to select which init systems to support; -+ instead of having to select all the individual settings all over the -+ place, these settings allows you to select all the settings at once. -+ -+ This particular setting enables all the known requirements for OpenRC, -+ runit and similar script based systems and managers. -+ -+ If you are unsure about this, it is best to leave this setting enabled. -+ -+menuconfig GENTOO_LINUX_INIT_SYSTEMD -+ bool "systemd" -+ default y -+ depends on GENTOO_LINUX && GENTOO_LINUX_UDEV -+ -+ select CGROUPS -+ select DEVTMPFS -+ select DMIID if X86_32 || X86_64 || X86 -+ select EPOLL -+ select FHANDLE -+ select INOTIFY_USER -+ select PROC_FS -+ select SIGNALFD -+ select SYSFS -+ select TIMERFD -+ select UNIX -+ -+ help -+ The init system is the first thing that loads after the kernel booted. -+ -+ These config settings allow you to select which init systems to support; -+ instead of having to select all the individual settings all over the -+ place, these settings allows you to select all the settings at once. -+ -+ This particular setting enables all the known requirements for systemd; -+ it also enables suggested optional settings, as the package suggests to. -+ -+if GENTOO_LINUX_INIT_SYSTEMD -+ -+comment "systemd config options" -+ -+config GENTOO_LINUX_INIT_SYSTEMD_CRYPTO -+ bool "Systemd crypto/hash api" -+ default y -+ select CRYPTO_HMAC -+ select CRYPTO_SHA256 -+ select CRYPTO_USER_API_HASH -+ -+config GENTOO_LINUX_INIT_SYSTEMD_SCSI -+ bool "Support for some SCSI devices serial number retrieval" -+ default n -+ select BLK_DEV_BSG -+ -+config GENTOO_LINUX_INIT_SYSTEMD_PRIVATE_NETWORKS -+ bool "Support PrivateNetwork directive in service units" -+ default y -+ select NET_NS -+ -+ help -+ systemd-localed.service and other systemd units use -+ PrivateNetwork so this is effectively required -+ -+config GENTOO_LINUX_INIT_SYSTEMD_PRIVATE_USERS -+ bool "Support PrivateUsers directive in service units" -+ default y -+ select USER_NS -+ -+config GENTOO_LINUX_INIT_SYSTEMD_CPUSHARES -+ bool "Support CPUShares in resource control unit settings" -+ default y -+ select CGROUP_SCHED -+ select FAIR_GROUP_SCHED -+ -+config GENTOO_LINUX_INIT_SYSTEMD_CPUQUOTA -+ bool "Support CPUQuota in resource control unit settings" -+ default y -+ select CFS_BANDWIDTH -+ -+config GENTOO_LINUX_INIT_SYSTEMD_NETWORK_FILTERING -+ bool "Support network traffic filtering for IP packets and custom network traffic filters in resource control unit settings" -+ default y -+ select BPF -+ select BPF_SYSCALL -+ select BPF_JIT -+ select CGROUP_BPF -+ select HAVE_EBPF_JIT -+ -+ help -+ Required for IPAddressDeny=, IPAddressAllow=, IPIngressFilterPath=, -+ IPEgressFilterPath= in resource control unit settings -+ -+config GENTOO_LINUX_INIT_SYSTEMD_NETWORK -+ bool "Restrict Sockets and Network Interface access in resource control unit settings" -+ default y -+ select BPF -+ select BPF_SYSCALL -+ select BPF_JIT -+ select CGROUP_BPF -+ select EFIVAR_FS if ( X86_32 || X86_64 || X86 ) && CONFIG_EFI -+ select EFI_PARTITION if ( X86_32 || X86_64 || X86 ) && CONFIG_EFI -+ select HAVE_EBPF_JIT -+ -+ help -+ Allow or deny binding a socket address to a socket by matching -+ it with the bind-rule and applying a corresponding action if -+ there is a match. Also restricts the network interfaces that -+ processes of this unit can use. -+ -+config GENTOO_LINUX_INIT_SYSTEMD_FILESYSTEMS -+ bool "Support RestrictFileSystems directive in service units" -+ default n -+ depends on !GENTOO_KERNEL_SELF_PROTECTION -+ select BPF -+ select BPF_SYSCALL -+ select BPF_LSM -+ select DEBUG_INFO_BTF -+ -+ help -+ Also required to select LSM="...,bpf" or kernel booted with -+ lsm="...,bpf". -+ -+config GENTOO_LINUX_INIT_SYSTEMD_OOMD -+ bool "Support systemd-oomd" -+ default y -+ select PSI -+ -+config GENTOO_LINUX_INIT_SYSTEMD_VERITY -+ bool "Support signed Verity images" -+ default n -+ select DM_VERITY_VERIFY_ROOTHASH_SIG -+ -+config GENTOO_LINUX_INIT_SYSTEMD_OPTIONAL -+ bool "Optional but strongly recommended modules" -+ default y -+ select AUTOFS_FS -+ select IPV6 -+ select KCMP -+ select SECCOMP -+ select SECCOMP_FILTER if HAVE_ARCH_SECCOMP_FILTER -+ select TMPFS_XATTR -+ -+ select 9P_FS_POSIX_ACL if 9P_FS -+ select BTRFS_FS_POSIX_ACL if BTRFS_FS -+ select CEPH_FS_POSIX_ACL if CEPH_FS -+ select EROFS_FS_POSIX_ACL if EROFS_FS -+ select EXT2_FS_POSIX_ACL if EXT2_FS3 -+ select EXT3_FS_POSIX_ACL if EXT3_FS -+ select EXT4_FS_POSIX_ACL if EXT4_FS -+ select F2FS_FS_POSIX_ACL if F2FS_FS -+ select NTFS3_FS_POSIX_ACL if NTFS3_FS -+ select REISERFS_FS_POSIX_ACL if REISERFS_FS -+ select TMPFS_POSIX_ACL if TMPFS -+ select XFS_POSIX_ACL if XFS_FS -+endif -+endmenu -+ -+menuconfig GENTOO_KERNEL_SELF_PROTECTION -+ bool "Kernel Self Protection Project" -+ depends on GENTOO_LINUX -+ help -+ Recommended Kernel settings based on the suggestions from the Kernel Self Protection Project -+ See: https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings -+ Note, there may be additional settings for which the CONFIG_ setting is invisible in menuconfig due -+ to unmet dependencies. Search for GENTOO_KERNEL_SELF_PROTECTION_COMMON and search for -+ GENTOO_KERNEL_SELF_PROTECTION_{X86_64, ARM64, X86_32, ARM} for dependency information on your -+ specific architecture. -+ Note 2: Please see the URL above for numeric settings, e.g. CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 -+ for X86_64 -+ -+if GENTOO_KERNEL_SELF_PROTECTION -+config GENTOO_KERNEL_SELF_PROTECTION_COMMON -+ bool "Enable Kernel Self Protection Project Recommendations" -+ -+ depends on GENTOO_LINUX && !ACPI_CUSTOM_METHOD && !COMPAT_BRK && !DEVKMEM && !PROC_KCORE && !COMPAT_VDSO && !KEXEC && !HIBERNATION && !LEGACY_PTYS && !X86_X32 && !MODIFY_LDT_SYSCALL && GCC_PLUGINS && !GENTOO_LINUX_INIT_SYSTEMD_FILESYSTEMS -+ -+ select BUG -+ select STRICT_KERNEL_RWX -+ select DEBUG_WX -+ select STACKPROTECTOR -+ select STACKPROTECTOR_STRONG -+ select STRICT_DEVMEM if DEVMEM=y -+ select IO_STRICT_DEVMEM if DEVMEM=y -+ select SYN_COOKIES -+ select DEBUG_CREDENTIALS -+ select DEBUG_NOTIFIERS -+ select DEBUG_LIST -+ select DEBUG_SG -+ select BUG_ON_DATA_CORRUPTION -+ select SCHED_STACK_END_CHECK -+ select SECCOMP if HAVE_ARCH_SECCOMP -+ select SECCOMP_FILTER if HAVE_ARCH_SECCOMP_FILTER -+ select SECURITY_YAMA -+ select SLAB_FREELIST_RANDOM -+ select SLAB_FREELIST_HARDENED -+ select SHUFFLE_PAGE_ALLOCATOR -+ select SLUB_DEBUG -+ select PAGE_POISONING -+ select PAGE_POISONING_NO_SANITY -+ select PAGE_POISONING_ZERO -+ select INIT_ON_ALLOC_DEFAULT_ON -+ select INIT_ON_FREE_DEFAULT_ON -+ select REFCOUNT_FULL -+ select FORTIFY_SOURCE -+ select SECURITY_DMESG_RESTRICT -+ select PANIC_ON_OOPS -+ select GCC_PLUGIN_LATENT_ENTROPY -+ select GCC_PLUGIN_STRUCTLEAK -+ select GCC_PLUGIN_STRUCTLEAK_BYREF_ALL -+ select GCC_PLUGIN_RANDSTRUCT -+ select GCC_PLUGIN_RANDSTRUCT_PERFORMANCE -+ -+ help -+ Search for GENTOO_KERNEL_SELF_PROTECTION_{X86_64, ARM64, X86_32, ARM} for dependency -+ information on your specific architecture. Note 2: Please see the URL above for -+ numeric settings, e.g. CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 for X86_64 -+ -+config GENTOO_KERNEL_SELF_PROTECTION_X86_64 -+ bool "X86_64 KSPP Settings" if GENTOO_KERNEL_SELF_PROTECTION_COMMON -+ -+ depends on !X86_MSR && X86_64 && GENTOO_KERNEL_SELF_PROTECTION -+ default n -+ -+ select RANDOMIZE_BASE -+ select RANDOMIZE_MEMORY -+ select RELOCATABLE -+ select LEGACY_VSYSCALL_NONE -+ select PAGE_TABLE_ISOLATION -+ select GCC_PLUGIN_STACKLEAK -+ select VMAP_STACK -+ -+ -+config GENTOO_KERNEL_SELF_PROTECTION_ARM64 -+ bool "ARM64 KSPP Settings" -+ -+ depends on ARM64 -+ default n -+ -+ select RANDOMIZE_BASE -+ select RELOCATABLE -+ select ARM64_SW_TTBR0_PAN -+ select CONFIG_UNMAP_KERNEL_AT_EL0 -+ select GCC_PLUGIN_STACKLEAK -+ select VMAP_STACK -+ -+config GENTOO_KERNEL_SELF_PROTECTION_X86_32 -+ bool "X86_32 KSPP Settings" -+ -+ depends on !X86_MSR && !MODIFY_LDT_SYSCALL && !M486 && X86_32 -+ default n -+ -+ select HIGHMEM64G -+ select X86_PAE -+ select RANDOMIZE_BASE -+ select RELOCATABLE -+ select PAGE_TABLE_ISOLATION -+ -+config GENTOO_KERNEL_SELF_PROTECTION_ARM -+ bool "ARM KSPP Settings" -+ -+ depends on !OABI_COMPAT && ARM -+ default n -+ -+ select VMSPLIT_3G -+ select STRICT_MEMORY_RWX -+ select CPU_SW_DOMAIN_PAN -+ -+endif -+ -+config GENTOO_PRINT_FIRMWARE_INFO -+ bool "Print firmware information that the kernel attempts to load" -+ -+ depends on GENTOO_LINUX -+ default y -+ -+ help -+ Enable this option to print information about firmware that the kernel -+ is attempting to load. This information can be accessible via the -+ dmesg command-line utility -+ -+ See the settings that become available for more details and fine-tuning. -+ -+endmenu -+ -diff --git a/drivers/base/firmware_loader/Kconfig b/drivers/base/firmware_loader/Kconfig -index 5b24f3959255..3e470a3dab39 100644 ---- a/drivers/base/firmware_loader/Kconfig -+++ b/drivers/base/firmware_loader/Kconfig -@@ -70,6 +70,7 @@ config EXTRA_FIRMWARE_DIR - - config FW_LOADER_USER_HELPER - bool "Enable the firmware sysfs fallback mechanism" -+ depends on !GENTOO_LINUX_INIT_SYSTEMD - select FW_LOADER_PAGED_BUF - help - This option enables a sysfs loading facility to enable firmware -diff --git a/init/Kconfig b/init/Kconfig -index 11f8a845f259..c826ddeb9ab3 100644 ---- a/init/Kconfig -+++ b/init/Kconfig -@@ -1008,6 +1008,7 @@ config CFS_BANDWIDTH - config RT_GROUP_SCHED - bool "Group scheduling for SCHED_RR/FIFO" - depends on CGROUP_SCHED -+ depends on !GENTOO_LINUX_INIT_SYSTEMD - default n - help - This feature lets you explicitly allocate real CPU bandwidth -@@ -1272,6 +1273,7 @@ config SCHED_AUTOGROUP - config SYSFS_DEPRECATED - bool "Enable deprecated sysfs features to support old userspace tools" - depends on SYSFS -+ depends on !GENTOO_LINUX_INIT_SYSTEMD - default n - help - This option adds code that switches the layout of the "block" class -diff --git a/mm/Kconfig b/mm/Kconfig -index c048dea7e342..81a1dfd69adc 100644 ---- a/mm/Kconfig -+++ b/mm/Kconfig -@@ -305,6 +305,8 @@ config KSM - config DEFAULT_MMAP_MIN_ADDR - int "Low address space to protect from user allocation" - depends on MMU -+ default 65536 if ( X86_64 || X86_32 || PPC64 || IA64 ) && GENTOO_KERNEL_SELF_PROTECTION -+ default 32768 if ( ARM64 || ARM ) && GENTOO_KERNEL_SELF_PROTECTION - default 4096 - help - This is the portion of low virtual memory which should be protected -diff --git a/security/Kconfig b/security/Kconfig -index fe6c0395fa02..6b1b81cd120e 100644 ---- a/security/Kconfig -+++ b/security/Kconfig -@@ -166,6 +166,7 @@ config HARDENED_USERCOPY - config HARDENED_USERCOPY_FALLBACK - bool "Allow usercopy whitelist violations to fallback to object size" - depends on HARDENED_USERCOPY -+ depends on !GENTOO_KERNEL_SELF_PROTECTION - default y - help - This is a temporary option that allows missing usercopy whitelists -@@ -181,6 +182,7 @@ config HARDENED_USERCOPY_PAGESPAN - bool "Refuse to copy allocations that span multiple pages" - depends on HARDENED_USERCOPY - depends on EXPERT -+ depends on !GENTOO_KERNEL_SELF_PROTECTION - help - When a multi-page allocation is done without __GFP_COMP, - hardened usercopy will reject attempts to copy it. There are, -diff --git a/security/selinux/Kconfig b/security/selinux/Kconfig -index 9e921fc72538..9e1f7ce887b6 100644 ---- a/security/selinux/Kconfig -+++ b/security/selinux/Kconfig -@@ -12,6 +12,7 @@ config SECURITY_SELINUX - config SECURITY_SELINUX_BOOTPARAM - bool "NSA SELinux boot parameter" - depends on SECURITY_SELINUX -+ depends on !GENTOO_KERNEL_SELF_PROTECTION - default n - help - This option adds a kernel parameter 'selinux', which allows SELinux diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.15.76_p20221104.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.15.76_p20221104.ebuild deleted file mode 100644 index a0c9dee5649f..000000000000 --- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.15.76_p20221104.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ETYPE=sources -K_DEFCONFIG="bcmrpi_defconfig" -K_SECURITY_UNSUPPORTED=1 -EXTRAVERSION="-${PN}/-*" - -K_EXP_GENPATCHES_NOUSE=1 -K_GENPATCHES_VER=22 -K_DEBLOB_AVAILABLE=0 -K_WANT_GENPATCHES="base extras" - -inherit kernel-2 linux-info -detect_version -detect_arch - -MY_P=$(ver_cut 4-) -MY_P="1.${MY_P/p/}" - -DESCRIPTION="Raspberry Pi kernel sources" -HOMEPAGE="https://github.com/raspberrypi/linux" -SRC_URI=" - https://github.com/raspberrypi/linux/archive/${MY_P}.tar.gz -> linux-${KV_FULL}.tar.gz - ${GENPATCHES_URI} -" - -KEYWORDS="arm arm64" - -PATCHES=("${FILESDIR}"/${PN}-5.15.32-gentoo-kconfig.patch) - -UNIPATCH_EXCLUDE=" - 10* - 15* - 2000 - 29* - 3000 - 4567" - -pkg_setup() { - ewarn "" - ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." - ewarn "If you need support, please contact the raspberrypi developers directly." - ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" - ewarn "the ebuilds. Thank you." - ewarn "" - - kernel-2_pkg_setup -} - -universal_unpack() { - unpack linux-${KV_FULL}.tar.gz - - # We want to rename the unpacked directory to a nice normalised string - # bug #762766 - mv "${WORKDIR}"/linux-${MY_P} "${WORKDIR}"/linux-${KV_FULL} || die - - # remove all backup files - find . -iname "*~" -exec rm {} \; 2>/dev/null -} - -src_prepare() { - default - kernel-2_src_prepare -} - -pkg_postinst() { - kernel-2_pkg_postinst -} - -pkg_postrm() { - kernel-2_pkg_postrm -} diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.15.84_p20230106.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.15.84_p20230106.ebuild deleted file mode 100644 index a0c9dee5649f..000000000000 --- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.15.84_p20230106.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ETYPE=sources -K_DEFCONFIG="bcmrpi_defconfig" -K_SECURITY_UNSUPPORTED=1 -EXTRAVERSION="-${PN}/-*" - -K_EXP_GENPATCHES_NOUSE=1 -K_GENPATCHES_VER=22 -K_DEBLOB_AVAILABLE=0 -K_WANT_GENPATCHES="base extras" - -inherit kernel-2 linux-info -detect_version -detect_arch - -MY_P=$(ver_cut 4-) -MY_P="1.${MY_P/p/}" - -DESCRIPTION="Raspberry Pi kernel sources" -HOMEPAGE="https://github.com/raspberrypi/linux" -SRC_URI=" - https://github.com/raspberrypi/linux/archive/${MY_P}.tar.gz -> linux-${KV_FULL}.tar.gz - ${GENPATCHES_URI} -" - -KEYWORDS="arm arm64" - -PATCHES=("${FILESDIR}"/${PN}-5.15.32-gentoo-kconfig.patch) - -UNIPATCH_EXCLUDE=" - 10* - 15* - 2000 - 29* - 3000 - 4567" - -pkg_setup() { - ewarn "" - ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." - ewarn "If you need support, please contact the raspberrypi developers directly." - ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" - ewarn "the ebuilds. Thank you." - ewarn "" - - kernel-2_pkg_setup -} - -universal_unpack() { - unpack linux-${KV_FULL}.tar.gz - - # We want to rename the unpacked directory to a nice normalised string - # bug #762766 - mv "${WORKDIR}"/linux-${MY_P} "${WORKDIR}"/linux-${KV_FULL} || die - - # remove all backup files - find . -iname "*~" -exec rm {} \; 2>/dev/null -} - -src_prepare() { - default - kernel-2_src_prepare -} - -pkg_postinst() { - kernel-2_pkg_postinst -} - -pkg_postrm() { - kernel-2_pkg_postrm -}
