From c222287a291c40238c3f4a4da726748a90e4f271 Mon Sep 17 00:00:00 2001
From: Denis Pynkin <denis.pynkin@collabora.com>
Date: Mon, 28 Jan 2019 11:52:50 +0300
Subject: [PATCH] uefi-image: use systemd-boot instead of gummiboot

Do not need to install package `gimmiboot` since systemd-boot has
support of EFI configurtion.
Added kernel command line to `filesystem-deploy` action for proper
generation of `/ets/kernel/cmdline` file.

Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
---
 apertis-image-uefi.yaml | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/apertis-image-uefi.yaml b/apertis-image-uefi.yaml
index 03e43db..d146db7 100644
--- a/apertis-image-uefi.yaml
+++ b/apertis-image-uefi.yaml
@@ -108,21 +108,13 @@ actions:
 
   - action: filesystem-deploy
     description: Deploying ospack onto image
-
-  - action: apt
-    packages:
-      - gummiboot
+    append-kernel-cmdline: {{ $cmdline }}
 
   - action: run
     description: Install UEFI bootloader
     chroot: true
     command: bootctl --path=/boot/efi install
 
-  - action: run
-    description: Add kernel parameters
-    chroot: true
-    command: sed -i -e 's%GUMMIBOOT_OPTIONS=.*%GUMMIBOOT_OPTIONS="{{ $cmdline }}"%' /etc/default/gummiboot
-
   - action: apt
     description: Kernel and system packages for {{$architecture}}
     packages:
-- 
GitLab