2022-05-10 20:22:35 +00:00
|
|
|
From 3b01a0e630c2e0ccc08b78544dcfd35e6a948b07 Mon Sep 17 00:00:00 2001
|
2021-11-17 12:37:58 +00:00
|
|
|
From: Andrew Lukoshko <andrew.lukoshko@gmail.com>
|
2022-05-10 20:22:35 +00:00
|
|
|
Date: Fri, 8 Apr 2022 16:09:38 +0000
|
2021-11-17 12:37:58 +00:00
|
|
|
Subject: [PATCH] Add AlmaLinux detection
|
|
|
|
|
|
|
|
---
|
|
|
|
m4/guestfs-appliance.m4 | 2 +-
|
2022-05-10 20:22:35 +00:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
2021-11-17 12:37:58 +00:00
|
|
|
|
|
|
|
diff --git a/m4/guestfs-appliance.m4 b/m4/guestfs-appliance.m4
|
2022-05-10 20:22:35 +00:00
|
|
|
index b0a6ab4..66eef8a 100644
|
2021-11-17 12:37:58 +00:00
|
|
|
--- a/m4/guestfs-appliance.m4
|
|
|
|
+++ b/m4/guestfs-appliance.m4
|
2022-05-10 20:22:35 +00:00
|
|
|
@@ -105,7 +105,7 @@ AC_ARG_WITH([distro],
|
2021-11-17 12:37:58 +00:00
|
|
|
( . /etc/os-release && echo $ID | tr '@<:@:lower:@:>@' '@<:@:upper:@:>@' ) >&AS_MESSAGE_LOG_FD
|
|
|
|
DISTRO="`. /etc/os-release && echo $ID | tr '@<:@:lower:@:>@' '@<:@:upper:@:>@'`"
|
|
|
|
AS_CASE([$DISTRO],
|
|
|
|
- [FEDORA | RHEL | CENTOS],[DISTRO=REDHAT],
|
|
|
|
+ [FEDORA | RHEL | CENTOS | ALMALINUX],[DISTRO=REDHAT],
|
|
|
|
[OPENSUSE* | SLED | SLES],[DISTRO=SUSE],
|
2022-05-10 20:22:35 +00:00
|
|
|
[ARCH],[DISTRO=ARCHLINUX],
|
|
|
|
[OPENMANDRIVA],[DISTRO=OPENMANDRIVA])
|
2021-11-17 12:37:58 +00:00
|
|
|
--
|
|
|
|
2.27.0
|
|
|
|
|