diff --git a/elements/base/element-deps b/elements/base/element-deps new file mode 100644 index 00000000..ef25eec6 --- /dev/null +++ b/elements/base/element-deps @@ -0,0 +1 @@ +pkg-map diff --git a/elements/base/install.d/00-baseline-environment b/elements/base/install.d/00-baseline-environment index 449f5096..706537a2 100755 --- a/elements/base/install.d/00-baseline-environment +++ b/elements/base/install.d/00-baseline-environment @@ -4,4 +4,4 @@ set -eu set -o pipefail -install-packages vlan open-iscsi +install-packages -m base vlan_package iscsi_package diff --git a/elements/base/install.d/00-ccache b/elements/base/install.d/00-ccache index 8d2c7452..8a581105 100755 --- a/elements/base/install.d/00-ccache +++ b/elements/base/install.d/00-ccache @@ -3,4 +3,4 @@ set -eu set -o pipefail -install-packages ccache +install-packages -m base ccache_package diff --git a/elements/base/install.d/99-dkms b/elements/base/install.d/99-dkms index b8b7496c..cbffab9d 100755 --- a/elements/base/install.d/99-dkms +++ b/elements/base/install.d/99-dkms @@ -3,4 +3,4 @@ set -eu set -o pipefail -install-packages dkms +install-packages -m base dkms_package diff --git a/elements/base/pkg-map b/elements/base/pkg-map new file mode 100644 index 00000000..344729f8 --- /dev/null +++ b/elements/base/pkg-map @@ -0,0 +1,14 @@ +{ + "family": { + "redhat": { + "vlan_package": "vconfig", + "iscsi_package": "iscsi-initiator-utils" + } + }, + "default": { + "ccache_package": "ccache", + "dkms_package": "dkms", + "vlan_package": "vlan", + "iscsi_package": "open-iscsi" + } +}