Fix OpenSUSE support

The dhcp-all-interfaces and simple-init elements did not have the ISC
DHCP Client package mapped for OpenSUSE, which caused DIB to fail with
"'isc-dhcp-client' not found in package names. Trying capabilities."

Similarly, the bootloader element did not have the grub-pc package
properly mapped for OpenSuse, which caused DIB to fail with "Package
'grub-pc' not found.".

This patch adds the package mappings for these elements so that the
opensuse element can be created and booted successfully.

Change-Id: Ife478158fec3a95de73a9206b38dcc6511d56cc8
This commit is contained in:
Colleen Murphy 2016-05-03 22:23:51 -07:00
parent 83b607557e
commit b5f51322a3
3 changed files with 8 additions and 1 deletions

View File

@ -6,7 +6,8 @@
"grub-pc": "grub" "grub-pc": "grub"
}, },
"suse": { "suse": {
"dkms_package": "" "dkms_package": "",
"grub-pc": "grub2"
}, },
"redhat": { "redhat": {
"extlinux": "syslinux-extlinux", "extlinux": "syslinux-extlinux",

View File

@ -5,6 +5,9 @@
}, },
"gentoo": { "gentoo": {
"dhcp-client": "net-misc/dhcpcd" "dhcp-client": "net-misc/dhcpcd"
},
"suse": {
"dhcp-client": "dhcp-client"
} }
}, },
"default": { "default": {

View File

@ -11,6 +11,9 @@
"dhcp-client": "net-misc/dhcp", "dhcp-client": "net-misc/dhcp",
"python-pip": "dev-python/pip", "python-pip": "dev-python/pip",
"net-tools": "sys-apps/net-tools" "net-tools": "sys-apps/net-tools"
},
"suse": {
"dhcp-client": "dhcp-client"
} }
}, },
"default": { "default": {