Update base element to make use of pkg-map

With this change package name to distro mappings used
within the base element are now stored in the top
level pkg-map file.

Additionally, all bin/install-packages commands are updated
to use the -m option so that the base element pkg-map
namespace is used by default.

Change-Id: I3bdbf987c8525f9ef67ca0c263651d6613f29ef0
This commit is contained in:
Dan Prince 2014-05-02 15:43:05 -04:00
parent 99ebd302b0
commit 4015097a31
5 changed files with 18 additions and 3 deletions

View File

@ -0,0 +1 @@
pkg-map

View File

@ -4,4 +4,4 @@
set -eu set -eu
set -o pipefail set -o pipefail
install-packages vlan open-iscsi install-packages -m base vlan_package iscsi_package

View File

@ -3,4 +3,4 @@
set -eu set -eu
set -o pipefail set -o pipefail
install-packages ccache install-packages -m base ccache_package

View File

@ -3,4 +3,4 @@
set -eu set -eu
set -o pipefail set -o pipefail
install-packages dkms install-packages -m base dkms_package

14
elements/base/pkg-map Normal file
View File

@ -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"
}
}