The new graphics ports and pkg-base

Pete Wright pete at nomadlogic.org
Wed May 20 16:30:53 UTC 2020



On 5/20/20 12:45 AM, Grzegorz Junka wrote:
> I am trying to understand the impact of distributing ports with 
> sources on building and packaging base with pkg.
>
> If I understand correctly, some ports, when installed with pkg, 
> extract sources, which then supposed to be compiled with the kernel.
>
> For instance, drm-current-kmod extracts lots of files into 
> /usr/local/sys/modules/

hrm I am not seeing that behavior on my end:
$ pkg list drm-devel-kmod
/boot/modules/amdgpu.ko
/boot/modules/drm.ko
/boot/modules/i915kms.ko
/boot/modules/linuxkpi_gplv2.ko
/boot/modules/radeonkms.ko
/boot/modules/ttm.ko
/boot/modules/vboxvideo.ko
/boot/modules/vmwgfx.ko
/usr/local/share/licenses/drm-devel-kmod-5.2.g20200515/BSD2CLAUSE
/usr/local/share/licenses/drm-devel-kmod-5.2.g20200515/GPLv2
/usr/local/share/licenses/drm-devel-kmod-5.2.g20200515/LICENSE
/usr/local/share/licenses/drm-devel-kmod-5.2.g20200515/MIT
/usr/local/share/licenses/drm-devel-kmod-5.2.g20200515/catalog.mk
$

maybe i'm missing something though and this behavior only happens on 
systems using pkg-base?  i believe there was some discussion about 
bundling the required source to build drm-kmod locally in a similar 
fashion as linux dkms, but i'm not sure if that's progressed.

cheers,
-pete

-- 
Pete Wright
pete at nomadlogic.org
@nomadlogicLA



More information about the freebsd-pkgbase mailing list