On Thu, 26 Feb 2026 17:35:58 +0100,
Heinrich Rebehn <Heinrich.Rebehn@rebehn.net> wrote:
>
> Hello All,
>
> 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?
>
I think you're looking for sysmerge options -d and -p.
If I understand correctly that you try to achive, when I'll do somethign
like that:
1. pkg_info -mz -- to get list of installed packages
2. sysmerge -d -- to get changes in system's config files
3. sysmerge -d -p -- to get changes in port's config files
with all of this in new machine:
1. pkg_add $(cat list-with-packages)
2. apply diff from previous (2)
3. apply diff from previous (3)
--
wbr, Kirill
No comments:
Post a Comment