[lxc-devel] [distrobuilder/master] main: Add more VM dependencies
monstermunchkin on Github
lxc-bot at linuxcontainers.org
Fri Feb 21 08:29:06 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200221/1adaabfa/attachment.bin>
-------------- next part --------------
From 34de2cf2a4bcc15dcdf56774d7c9282a1d8c713a Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Fri, 21 Feb 2020 09:28:28 +0100
Subject: [PATCH] main: Add more VM dependencies
Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
distrobuilder/main_lxd.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/distrobuilder/main_lxd.go b/distrobuilder/main_lxd.go
index 839ad5f..b2f51c4 100644
--- a/distrobuilder/main_lxd.go
+++ b/distrobuilder/main_lxd.go
@@ -323,7 +323,7 @@ func (c *cmdLXD) run(cmd *cobra.Command, args []string, overlayDir string) error
}
func (c *cmdLXD) checkVMDependencies() error {
- dependencies := []string{"btrfs", "qemu-img", "rsync", "sgdisk"}
+ dependencies := []string{"btrfs", "mkfs.ext4", "mkfs.vfat", "qemu-img", "rsync", "sgdisk"}
for _, dep := range dependencies {
_, err := exec.LookPath(dep)
More information about the lxc-devel
mailing list