Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2020 09:30:44 -0700
From:      Pete Wright <pete@nomadlogic.org>
To:        Grzegorz Junka <list1@gjunka.com>, freebsd-pkgbase@freebsd.org
Subject:   Re: The new graphics ports and pkg-base
Message-ID:  <f9e40b92-7163-2e9c-090e-2dbde227d5fe@nomadlogic.org>
In-Reply-To: <eacb782c-8f6c-0ee8-cb6d-dbcb16a75fc6@gjunka.com>
References:  <eacb782c-8f6c-0ee8-cb6d-dbcb16a75fc6@gjunka.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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@nomadlogic.org
@nomadlogicLA




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f9e40b92-7163-2e9c-090e-2dbde227d5fe>