]> xenbits.xensource.com Git - people/royger/osstest.git/commit
osstest: add support for the FreeBSD package manager
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 13 Jun 2018 07:40:14 +0000 (09:40 +0200)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 21 Jun 2018 15:56:55 +0000 (16:56 +0100)
commitc9779be4d5c1d370b780f6e7ed6060023adc4da5
tree39f0c65076692097471d76a42f8e4093a1542e67
parente9a22492b4546952bf8690790cd7d3e39db8f517
osstest: add support for the FreeBSD package manager

FreeBSD support is added to target_install_packages and
target_install_packages_norec, although there's no equivalent to the
--no-install-recommends in the FreeBSD package manager.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
v19: Rework on top of target_run_pkgmanager_install

Changes since v6:
 - Use $ho->{Os} in order to detect the target OS.

Changes since v5:
 - Add prototype for package_install_cmd.
 - Use $ho->{Ident} instead of hardcoding "host" in get_hostflags.

Changes since v4:
 - Unify more code between FreeBSD and Debian: introduce an
   OS-agnostic package_install_cmd to generate the install cmd.

Changes since v3:
 - New in this version.
Osstest/TestSupport.pm