Skip to content

Commit

Permalink
providers/qemu: fix default to fwcfg
Browse files Browse the repository at this point in the history
Commit 3b930b made it impossible to build Ignition on any other arch then
s390x, ppc64le, amd64 or arm64 by explicitly stating the allowed platforms.
This made it impossible to build e.g. for 386.
Continue to use the fw_cfg interface as default instead.
  • Loading branch information
laenion committed Mar 24, 2020
1 parent edc493a commit 7691d0e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions internal/providers/qemu/qemu_fwcfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build amd64 arm64
// +build !s390x,!ppc64le

// The QEMU provider on amd64 and arm64 fetches a local configuration from the
// firmware config interface (opt/com.coreos/config).
// The default QEMU provider fetches a local configuration from the firmware
// config interface (opt/com.coreos/config). Platforms without support for
// qemu_fw_cfg should use the blockdev implementation instead.

package qemu

Expand Down

0 comments on commit 7691d0e

Please sign in to comment.