[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Suppressing version warning for binary package installs?
Maybe pkg_install.conf(5) can be extended to offer a variable or
variables that either lists known compatible OS versions or a regex
pattern of compatible OS versions. For example (suggestions):
# OPSYS_NAME defines the operating system name for suppressing the
# warnings from mismatched releases when using HOST_UNAME_RELEASE.
# HOST_UNAME_RELEASE is used to match the beginning of compatible
# operating system releases to suppress the warning when installing
# a package built on a different release. (OPSYS_NAME must be set too.)
A problem with that is you may forget to update it. May be better to
hardcode some mappings into pkg_add itself. But those mappings should be
portable, so can be used by other package installation tools, like
Or simply extend pkg_install.conf(5) to add a variable that means
suppress the warning.
Main Index |
Thread Index |