From: Kai Liu <kai.liu@windriver.com>
Date: Fri, 8 Nov 2024 12:44:03 +0800
Subject: Provide openEuler appliance package list

Although upstream already supported distro detecting for openEuler,
package list for openEuler appliance is still missing.

Index: libguestfs-1.49.5/appliance/packagelist.in
===================================================================
--- libguestfs-1.49.5.orig/appliance/packagelist.in
+++ libguestfs-1.49.5/appliance/packagelist.in
@@ -11,6 +11,7 @@ dnl   ARCHLINUX=1  For Archlinux.
 dnl   SUSE=1       For OpenSUSE.
 dnl   FRUGALWARE=1 For Frugalware.
 dnl   MAGEIA=1     For Mageia.
+dnl   OPENEULER=1  For openEuler.
 dnl
 dnl There is also a list of packages which are excluded if they appear
 dnl as dependencies of the packages below.  See: excludelist.in
@@ -211,6 +212,29 @@ ifelse(OPENMANDRIVA,1,
   zstd
 )
 
+ifelse(OPENEULER,1,
+  clevis
+  cryptsetup
+  dhcp
+  gfs2-utils
+  grub2
+  hfsplus-tools
+  iproute
+  iputils
+  kernel
+  nilfs-utils
+  ntfs-3g
+  openssh-clients
+  policycoreutils
+  reiserfs-utils
+  rpm-libs
+  syslinux-extlinux
+  systemd              dnl for /sbin/reboot and udevd
+  vim-minimal
+  xz
+  zstd
+)
+
 include(guestfsd.deps)
 
 acl
@@ -286,6 +310,10 @@ ifelse(MAGEIA,1,
   qemu-img
   which
 )
+ifelse(OPENEULER,1,
+  qemu-img
+  which
+)
 curl
 kpartx
 dnl (virt-dib) tools optionally used for elements
