[lxc-devel] [lxc-ci/master] images/debian: Fix VM image for Debian Jessie
monstermunchkin on Github
lxc-bot at linuxcontainers.org
Fri Feb 28 20:05:32 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 357 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200228/81e5f3f6/attachment.bin>
-------------- next part --------------
From 8b071e860570285fe7ab7404ab6db7d59c4a3df4 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Fri, 28 Feb 2020 20:59:23 +0100
Subject: [PATCH] images/debian: Fix VM image for Debian Jessie
Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
images/debian.yaml | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/images/debian.yaml b/images/debian.yaml
index e69657f..1d3c464 100644
--- a/images/debian.yaml
+++ b/images/debian.yaml
@@ -939,12 +939,34 @@ packages:
- packages:
- grub-efi
+ action: install
+ types:
+ - vm
+ architectures:
+ - amd64
+
+ - packages:
+ - linux-image-4.9-amd64
+ action: install
+ types:
+ - vm
+ architectures:
+ - amd64
+ releases:
+ - jessie
+
+ - packages:
- linux-image-amd64
action: install
types:
- vm
architectures:
- amd64
+ releases:
+ - stretch
+ - buster
+ - bullseye
+ - sid
- packages:
- grub-efi-arm64
@@ -1027,9 +1049,9 @@ actions:
update-grub
# This will create EFI/BOOT
- grub-install --target="${TARGET}-efi" --no-nvram --removable
+ grub-install --target="${TARGET}-efi" --no-nvram --removable --modules="part_gpt"
# This will create EFI/debian
- grub-install --target="${TARGET}-efi" --no-nvram
+ grub-install --target="${TARGET}-efi" --no-nvram --modules="part_gpt"
update-grub
sed -i "s#root=[^ ]*#root=/dev/sda2#g" /boot/grub/grub.cfg
types:
More information about the lxc-devel
mailing list