svn commit: r340905 - in stable/12: release/pkg_repos usr.sbin/pkg

Colin Percival cperciva at tarsnap.com
Tue Sep 3 14:08:07 UTC 2019


On 4/19/19 6:05 AM, Glen Barber wrote:
> On Thu, Apr 18, 2019 at 10:02:53PM +0000, Colin Percival wrote:
>> On 11/24/18 9:47 AM, Glen Barber wrote:
>>> Log:
>>>   Revert r340161 in stable/12, setting the default pkg(8) repository back
>>>   to 'latest' from 'quarterly' prior to branching releng/12.0.
>> It looks like this is incorrect for non-x86 architectures.  Portmgr may
>> correct me here, but it looks like "latest" builds are only done on non-x86
>> architectures on HEAD.  (The same problem also applies on stable/11.)
>>
>> I'm guessing that the answer here is to have different package configurations
>> installed depending on the architecture; I knew how to do this with the old
>> style of src/etc but I'm not sure how to do it now that pkgbase has spread
>> configuration files all over the tree.
> 
> For 13.0-CURRENT, both latest and quarterly are updated.  For non-x86 on
> 12.0-STABLE and 11.2-STABLE, quarterly is updated (not latest), so from
> a general sense of this particular commit, it is correct.
> 
> But you are also correct in your assertion that the current default
> (latest) for non-x86 does appear to be incorrect.
I think this patch does what we need in stable/12 -- installing a different
FreeBSD.conf file depending on whether TARGET_ARCH is amd64/i386.  I'm not
sure if we should have anything similar in HEAD since we want to use "latest"
packages on all architectures there; we might want to have both configuration
files in HEAD but always install the same one there.

Let me know what you'd like done; this is the last issue (aside from MFCs)
blocking ARM64 AMIs from working on stable/12.

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FreeBSD-conf.diff
Type: text/x-patch
Size: 2812 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20190903/a8993eca/attachment.bin>


More information about the svn-src-all mailing list