On 2026-02-27, Heinrich Rebehn <[email protected]> wrote:
> Thank you very much for all your replies!
>
> I never took a look at sysmerge. I never used it before, because when 
> upgrading to a new OpenBSD version I always took the path that Peter 
> suggested.
> This time however, because im am only switching architectures and not 
> versions, I figured there should be an easier way. I had hoped for a tool 
> that would simply replace all arm64 binaries with the corresponding amd64 
> ones.
> Nevertheless, sysmerge looks quite promising, at least by identifying the 
> files that I will have to take care of.

>>> I have a mailserver that runs OpenBSD 7.8 arm64. I want to transfer this 
>>> installation to a amd64 machine. Do you know of an easy way other than 
>>> manually copying the config files to a blank amd64 installation? 
>>> Maybe automatically select all architecture-independent files and use them 
>>> to overwrite the corresponding files on the amd machine?

Depends on the way you configure things, but on my mailservers, there
are a bunch of config files other than the ones which are @sample'd in
the packages, so the sysmerge commands are of limited use.

Typically when I've done this, I install the same set of packages,
then scp /etc from the origin machine to /tmp/etc, and go through
manually with diff and decide whether to copy or manually merge the
various files. Same as if I am building on a new machine without
changing arch.

One thing to be aware of is that binary data files may have a
different format depending on the arch. Less likely to be a problem
with amd64 / aarch64, but that's definitely happened with i386 / amd64.

-- 
Please keep replies on the mailing list.

Reply via email to