Install squashfs-tools for Ubuntu image builds

Ubuntu cloud images are distributed in a squashfs file system. Using the
ubuntu DIB element requires unpacking the image, which requires the
squashfs-tools package. This change ensures it is installed.

Story: 2008838
Task: 42345

Change-Id: I3cba11ac02a09d142637e2169a7b901a5b41bd59
This commit is contained in:
Mark Goddard 2021-04-22 09:32:48 +01:00
parent 95c429b5ba
commit b166a0629b
2 changed files with 6 additions and 0 deletions

View File

@ -16,4 +16,5 @@ dib_host_required_packages:
- dosfstools
- e2fsprogs
- gdisk
- "squashfs{% if ansible_os_family != 'Suse' %}-tools{% endif %}"
- xfsprogs

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes a failure when building an Ubuntu image due to a missing
``squashfs-tools`` package.