This very PKGBUILD
is used for building binary packages with different name suffixes in OBS, for instance, linux-pf-generic
. So I guess this should stay?
Search Criteria
Package Details: linux-pf 6.11.pf4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/linux-pf.git (read-only, click to copy) |
---|---|
Package Base: | linux-pf |
Description: | The pf-kernel and modules |
Upstream URL: | https://pfkernel.natalenko.name |
Keywords: | bbr bbr3 kernel ksm linux linux-pf pf-kernel uksm uksmd v4l2loopback zstd |
Licenses: | GPL-2.0-only |
Provides: | KSMBD-MODULE, linux-pf, NTFS3-MODULE, UKSMD-BUILTIN, V4L2LOOPBACK-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE |
Replaces: | virtualbox-guest-modules-arch, wireguard-arch |
Submitter: | nous |
Maintainer: | post-factum |
Last Packager: | post-factum |
Votes: | 209 |
Popularity: | 0.24 |
First Submitted: | 2011-07-24 12:01 (UTC) |
Last Updated: | 2024-11-06 15:49 (UTC) |
Dependencies (17)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-hybridAUR, coreutils-selinuxAUR, coreutils-uutilsAUR)
- initramfs (booster-gitAUR, booster-wip-gitAUR, mkinitcpio-gitAUR, dracut-gitAUR, booster, dracut, mkinitcpio)
- kmod (busybox-coreutilsAUR, kmod-gitAUR)
- bc (bc-ghAUR) (make)
- cpio (cpio-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- libelf (elfutils-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- tar (tar-gitAUR, busybox-coreutilsAUR) (make)
- xz (xz-gitAUR) (make)
- ksmbd-toolsAUR (optional) – userspace tools for the ksmbd kernel SMB server
- linux-firmware (linux-libre-firmwareAUR, linux-firmware-xzAUR, linux-firmware-amd-staging-um5606-gitAUR, linux-firmware-uncompressedAUR, linux-firmware-gitAUR) (optional) – firmware images needed for some devices
- uksmdAUR (uksmd-gitAUR, uksmd-cachyos-nosystemd-gitAUR, uksmd-nosystemd-gitAUR) (optional) – userspace KSM helper daemon
- v4l2loopback-utils (optional) – v4l2-loopback device utilities
- wireless-regdb (optional) – to set the correct wireless channels of your country
Required by (14)
- droidcam (requires V4L2LOOPBACK-MODULE)
- humble-lumpia-git (optional)
- immersed (requires V4L2LOOPBACK-MODULE) (optional)
- ksmbd-tools (requires KSMBD-MODULE)
- piavpn-bin (requires WIREGUARD-MODULE) (optional)
- piavpn-manual-git (requires WIREGUARD-MODULE)
- simple-droidcam-client (requires V4L2LOOPBACK-MODULE)
- uksmd (requires UKSMD-BUILTIN)
- uksmd-cachyos-nosystemd-git (requires UKSMD-BUILTIN) (optional)
- uksmd-git (requires UKSMD-BUILTIN)
- uksmd-nosystemd-git (requires UKSMD-BUILTIN) (optional)
- uksmdstats-git (requires UKSMD-BUILTIN) (optional)
- virtualbox-guest-utils-nox-svn (requires VIRTUALBOX-GUEST-MODULES)
- virtualbox-guest-utils-svn (requires VIRTUALBOX-GUEST-MODULES)
Sources (2)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 106 Next › Last »
post-factum commented on 2023-09-28 08:20 (UTC)
ZhangHua commented on 2023-09-28 00:45 (UTC)
@post-factum It seems that there is still having linux-pf
in replaces
and provides
. Letting linux-pf
in replaces
will cause pacman always trying to use linux-pf
replace linux-pf
, you can use paru's ChrootBuild feature to test this, paru will put built AUR packages in a local repository, this problem will be noticed. Letting linux-pf
in provides
is also useless as the package's name is linux-pf
, it absolutely provides itself.
post-factum commented on 2023-09-27 17:53 (UTC)
Actually, I've checked customisation for μ-arches in your pkg, it doesn't look invasive, so I've picked it up as well: https://codeberg.org/pf-kernel/release-scripts/commit/c286e1e8cc5ccb6daeeade36711fb3f5d739ae25
post-factum commented on 2023-09-27 11:23 (UTC)
Yes, that sounds like a good idea. Thanks, I'll consider that for the next update.
ZhangHua commented on 2023-09-27 10:22 (UTC)
@post-factum Following linux
package should be a good idea. However, setting -dkms
packages to conflicts
is not good as we may install other kernels that need those -dkms
packages to work. I think we may simply remove them from replaces
? If you installed a -dkms
package which has kernel module that is provided by linux-pf
kernel, the kernel module shipped by kernel will be disabled by dkms, so I think we can simply remove this limit, people who want to use those -dkms
modules can also install related packages directly.
post-factum commented on 2023-09-27 08:35 (UTC)
I think I should keep replaces
for at least virtualbox-guest-modules-arch wireguard-arch
as the linux
package do, right? Should I move -dkms
packages only to conflicts
then?
ZhangHua commented on 2023-09-27 08:22 (UTC)
@post-factum OK, I know that, thanks for your explanation. I know that you want to keep the build script simple. However, I think you may also need to adjust your replaces
in PKGBUILD
. According to ArchWiki, I think you may use replace
with wrong. You may need to move them to conflicts
and provides
to let pacman do not replace those packages with linux-pf
automatically.
post-factum commented on 2023-09-27 07:41 (UTC)
Hello. Regarding linux-pf-docs
package, I do not provide it intentionally as I think that should the need to read such a documentation arise, the user of a custom kernel is perfectly able to open the Documentation/
folder within the source code tree.
As for customisation for μ-arches, a config file can be edited before building the package, and any decent AUR helper should allow that. I'm not going to bake this into PKGBUILD
to not overcomplicate it.
ZhangHua commented on 2023-09-27 06:33 (UTC)
Hello, is there any linux-pf-docs
package just like those official kernels? What's more, I think we may need to add some environment variables to let user do more customization like using x86_64-v3 micro architecture?
post-factum commented on 2023-09-25 20:30 (UTC) (edited on 2024-10-08 14:21 (UTC) by post-factum)
Official binary builds for various x86_64 ISA levels are available here.
Pinned Comments
post-factum commented on 2023-09-25 20:30 (UTC) (edited on 2024-10-08 14:21 (UTC) by post-factum)
Official binary builds for various x86_64 ISA levels are available here.