mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
libguestfs: Support openEuler
openEuler is simliar to CentOS, but the ID is not lower-case string,
as below:
NAME="openEuler"
VERSION="24.03 (LTS)"
ID="openEuler"
VERSION_ID="24.03"
PRETTY_NAME="openEuler 24.03 (LTS)"
ANSI_COLOR="0;31"
Signed-off-by: Wang Guoquan <wangguoquan03@foxmail.com>
This commit is contained in:
committed by
Richard W.M. Jones
parent
82ffc1e66e
commit
1d8924c343
@@ -267,6 +267,7 @@ and check_package_format { distro } =
|
||||
| Some DISTRO_MEEGO
|
||||
| Some DISTRO_NEOKYLIN
|
||||
| Some DISTRO_OPENCLOUDOS
|
||||
| Some DISTRO_OPENEULER
|
||||
| Some DISTRO_OPENMANDRIVA
|
||||
| Some DISTRO_OPENSUSE
|
||||
| Some DISTRO_ORACLE_LINUX
|
||||
@@ -385,6 +386,10 @@ and check_package_management { distro; version } =
|
||||
|
||||
| Some DISTRO_OPENCLOUDOS ->
|
||||
Some PACKAGE_MANAGEMENT_DNF
|
||||
|
||||
| Some DISTRO_OPENEULER->
|
||||
Some PACKAGE_MANAGEMENT_DNF
|
||||
|
||||
| Some DISTRO_BUILDROOT
|
||||
| Some DISTRO_CIRROS
|
||||
| Some DISTRO_COREOS
|
||||
|
||||
Reference in New Issue
Block a user