On 06/04/20 13:49, Grzegorz Junka wrote:
> 
>>>> I'm doing a similar thing on head. What I do is run normal svn up; make
>>>> buildworld; make buildkernel; make packages on the poudriere machine. I
>>>> the upgrade that machine with the new base packages.
>>>>
>>>> After that I perform:
>>>>
>>>> poudriere jail -j ${j} -u -t 359154
>>>>
>>>> where 359154 is the subversion revision I have just compiled in
>>>> /usr/src.
>>>>
>>>> So I get packages for that exact head revision.
>>>>
>>>> Hope this answers your question.
>>>>
>>>> BTW I have found no way to create a jail with a fixed svn revision from
>>>> the get go. When I need to do that, I resort to temporarily modifying
>>>> poudriere code at jail.sh:563, adding -r <rev> option. I then revert
>>>> the
>>>> change.
>>>>
>>> Thanks, that's interesting. So, poudriere will build the jail from
>>> sources from that specific revision?
>> Yes, since it will "svn up -r <rev>" it's source tree for that jail.
>>
>> It will also invalidate and remove all packages if __FreeBSD_version has
>> changed.
>>
>>> But I think it still won't solve the problem where the base packages
>>> have been build with modified kernel configuration. Can you supply a
>>> custom kernel configuration in your method?
>> No I can't, but really a modified kernel configuration should not impact
>> on ports, do you have a specific scenario?
>>
>> At most ports interact with kernel sources, whatever the configuration.
> 
> 
> Yes, I do have a specific scenario of building drm-fbsd12.0-kmod. As I
> was told on the -ports group this package has to be compiled with EXACT
> same sources and kernel configuration as the kernel modules. I don't
> know if that also means building using the kernel compiled from that
> configuration, or if it's enough that the custom kernel configuration is
> active when compiling the port, but definitely it would not be enough to
> just have the kernel sources without the configuration. Unless I
> misunderstood.

I'm not sure that's the case for drm-fbsd12.0-kmod. I think it only
needs the same exact kernel sources.

The to actually use drm you will need a running kernel with the required
parts, but that should not change how the package is built.

-- 
Guido Falsi <m...@madpilot.net>
_______________________________________________
freebsd-pkgbase@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase
To unsubscribe, send any mail to "freebsd-pkgbase-unsubscr...@freebsd.org"

Reply via email to