From b5f51322a3ac13b103608d50704bd77a5577a847 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Tue, 3 May 2016 22:23:51 -0700 Subject: [PATCH] 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 --- elements/bootloader/pkg-map | 3 ++- elements/dhcp-all-interfaces/pkg-map | 3 +++ elements/simple-init/pkg-map | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/elements/bootloader/pkg-map b/elements/bootloader/pkg-map index eecd3a5c..4094feb6 100644 --- a/elements/bootloader/pkg-map +++ b/elements/bootloader/pkg-map @@ -6,7 +6,8 @@ "grub-pc": "grub" }, "suse": { - "dkms_package": "" + "dkms_package": "", + "grub-pc": "grub2" }, "redhat": { "extlinux": "syslinux-extlinux", diff --git a/elements/dhcp-all-interfaces/pkg-map b/elements/dhcp-all-interfaces/pkg-map index 25d2ec6a..6abf6d80 100644 --- a/elements/dhcp-all-interfaces/pkg-map +++ b/elements/dhcp-all-interfaces/pkg-map @@ -5,6 +5,9 @@ }, "gentoo": { "dhcp-client": "net-misc/dhcpcd" + }, + "suse": { + "dhcp-client": "dhcp-client" } }, "default": { diff --git a/elements/simple-init/pkg-map b/elements/simple-init/pkg-map index a26ad1bc..906ca121 100644 --- a/elements/simple-init/pkg-map +++ b/elements/simple-init/pkg-map @@ -11,6 +11,9 @@ "dhcp-client": "net-misc/dhcp", "python-pip": "dev-python/pip", "net-tools": "sys-apps/net-tools" + }, + "suse": { + "dhcp-client": "dhcp-client" } }, "default": {