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:
parent
99ebd302b0
commit
4015097a31
1
elements/base/element-deps
Normal file
1
elements/base/element-deps
Normal file
@ -0,0 +1 @@
|
||||
pkg-map
|
@ -4,4 +4,4 @@
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
install-packages vlan open-iscsi
|
||||
install-packages -m base vlan_package iscsi_package
|
||||
|
@ -3,4 +3,4 @@
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
install-packages ccache
|
||||
install-packages -m base ccache_package
|
||||
|
@ -3,4 +3,4 @@
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
install-packages dkms
|
||||
install-packages -m base dkms_package
|
||||
|
14
elements/base/pkg-map
Normal file
14
elements/base/pkg-map
Normal 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"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user