From f6315c9757977eff5d37124084205b7cadc6b364 Mon Sep 17 00:00:00 2001 From: azvyagintsev Date: Wed, 28 Oct 2020 16:53:02 +0200 Subject: [PATCH] Allow processing 'focal' ubuntu release in lvm * Those would unlock ubuntu-focal builds Change-Id: I628d17bfcf07fdff7d2290be7db0701095486bbf --- diskimage_builder/elements/lvm/root.d/10-lvm-check-distro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diskimage_builder/elements/lvm/root.d/10-lvm-check-distro b/diskimage_builder/elements/lvm/root.d/10-lvm-check-distro index bad87783..09de0b78 100755 --- a/diskimage_builder/elements/lvm/root.d/10-lvm-check-distro +++ b/diskimage_builder/elements/lvm/root.d/10-lvm-check-distro @@ -11,7 +11,7 @@ if [ 'ubuntu' != $DISTRO_NAME ]; then exit 1 fi -if [[ ! $DIB_RELEASE =~ (xenial|bionic) ]]; then - echo "Only xenial and bionic are supported for LVM support. The DIB_RELEASE is set to $DIB_RELEASE" +if [[ ! $DIB_RELEASE =~ (xenial|bionic|focal) ]]; then + echo "Only xenial/bionic/focal are supported for LVM support. The DIB_RELEASE is set to $DIB_RELEASE" exit 1 fi