The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc-ci/pull/153

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===

From 9072ca46a303fa62becbf3e7b34279b928c957b4 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Tue, 12 May 2020 15:01:28 +0200
Subject: [PATCH] images/opensuse: Use linux and initrd on aarch64

Use linux and initrd instead of linuxefi and initrdefi for aarch64 VMs.

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 images/opensuse.yaml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/images/opensuse.yaml b/images/opensuse.yaml
index 221e68d..c4176ae 100644
--- a/images/opensuse.yaml
+++ b/images/opensuse.yaml
@@ -285,3 +285,16 @@ actions:
     sed -i "s#root=[^ ]*#root=/dev/sda2#g" /boot/grub2/grub.cfg
   types:
   - vm
+
+- trigger: post-files
+  action: |-
+    #!/bin/sh
+    set -eux
+
+    # linuxefi and initrdefi don't seem to exist for aarch64.
+    # Instead, we should use linux and initrd.
+    sed -i "s#linuxefi#linux#g;s#initrdefi#initrd#g" /boot/grub2/grub.cfg
+  types:
+  - vm
+  architectures:
+  - aarch64
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to