From ecc0b2136d19ed0bd0fe0b7df5c5253549914b93 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Fri, 29 Apr 2011 10:37:43 +0200 Subject: [PATCH] rename all occurences of hardware_type to machine Signed-off-by: Steven Armstrong --- conf/type/__package_pkg_openbsd/gencode-remote | 4 ++-- doc/changelog | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/type/__package_pkg_openbsd/gencode-remote b/conf/type/__package_pkg_openbsd/gencode-remote index 0ad85458..0cafddd6 100755 --- a/conf/type/__package_pkg_openbsd/gencode-remote +++ b/conf/type/__package_pkg_openbsd/gencode-remote @@ -26,7 +26,7 @@ # set -x os_version="$(cat "$__global/explorer/os_version")" -hardware_type="$(cat "$__global/explorer/hardware_type")" +machine="$(cat "$__global/explorer/machine")" if [ -f "$__object/parameter/flavor" ]; then @@ -46,7 +46,7 @@ state="$(cat "$__object/parameter/state")" pkg_version="$(cat "$__object/explorer/pkg_version")" # TODO: Shouldn't be hardcoded -echo export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/$os_version/packages/$hardware_type/ +echo export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/$os_version/packages/$machine/ case "$state" in installed) diff --git a/doc/changelog b/doc/changelog index 739762c0..1efe6e33 100644 --- a/doc/changelog +++ b/doc/changelog @@ -2,6 +2,7 @@ * Bugfix/Feature: Type __package_yum: Add centos support, fix redhat support (Ramon Salvadó) * New Type __timezone (Ramon Salvadó) + * Rename explorer hardware_type to machine 1.6.2: 2011-04-19