Copyright (C) 2002-2020 Arnaud BERTRAND
web-site: http://apvsys.sourceforge.net
apv-osmirror
Between 2 successive versions of an operating system, it is frequent that a software compiled on the previous version is also working properly with the new version (e.g. Solaris7 and Solaris8)
So, when a new version of an operating system is installed, it would be painful to re-link, re-register every tool in the new version of the operating system! apv-osmirror is the solution to this "problem". The registration of tools can be replicated from one O.S. to another one (or another version of the same O.S.)
apv-osmirror [-o osname/osver] [ -d osname/osver] -t tool[/version] [ -v version -t tool [ -v version ...]]
Defines the source operating system. If it is not defined, the current O.S. is taken as source.
Defines the destination operating system. If it is not defined, the current O.S. is taken as destination.
Of course, the source and the destination cannot be the same, hence at least one of the -o or -d options is mandatory.
specifies the tool(s) (toolname) to mirror, this option can appear several times to mirror several tools.
specifies the version(s) to mirror, this option can appear several times to mirror several versions of the same tool.
If this option is ommited, all the versions are mirrored
If other versions are already registered in the destination O.S., the default version for this O.S. will stay, by default, as it was before the mirroring. The -D option is a means to equalize the default version in both O.S.
This option is used to force the re-registration (re-mirroring) of a tool/version which was already mirrored. Be careful, there is no unregistration before the new mirroring! So, if some commands were registered due to a previous mirroring, they will stay registered (even if they do not exist in the "new" mirrored version)
This option is mandatory (for logging purpose) to keep log of who changed what.
prints a short help message
> apv-osmirror -d SunOS/v5.8 -t gcc -D
> apv-osmirror -o SunOS/v5.6 -t all -D
> apv-osmirror -o SunOS/v5.6 -d SunOS/v5.8 -t gcc -t ncsim -t synopsys
> apv-osmirror -l -o SunOS/v5.6 -d SunOS/v5.8 -t gcc -v 2.95.2 -v 2.95.3