26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
|
From 3b01a0e630c2e0ccc08b78544dcfd35e6a948b07 Mon Sep 17 00:00:00 2001
|
||
|
From: Andrew Lukoshko <andrew.lukoshko@gmail.com>
|
||
|
Date: Fri, 8 Apr 2022 16:09:38 +0000
|
||
|
Subject: [PATCH] Add AlmaLinux detection
|
||
|
|
||
|
---
|
||
|
m4/guestfs-appliance.m4 | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/m4/guestfs-appliance.m4 b/m4/guestfs-appliance.m4
|
||
|
index b0a6ab4..66eef8a 100644
|
||
|
--- a/m4/guestfs-appliance.m4
|
||
|
+++ b/m4/guestfs-appliance.m4
|
||
|
@@ -105,7 +105,7 @@ AC_ARG_WITH([distro],
|
||
|
( . /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],
|
||
|
[ARCH],[DISTRO=ARCHLINUX],
|
||
|
[OPENMANDRIVA],[DISTRO=OPENMANDRIVA])
|
||
|
--
|
||
|
2.27.0
|
||
|
|