add patch file
Ken Lee <weigangli99(a)gmail.com> 于2023年11月30日周四 07:37写道:
 Dear all:
     apply add kylinsecos to supermin support.
      Modify the code as follows,
 diff --git a/src/ph_rpm.ml b/src/ph_rpm.ml
 index 783d1bb..5061d32 100644
 --- a/src/ph_rpm.ml
 +++ b/src/ph_rpm.ml
 @@ -32,12 +32,13 @@ let stringset_of_list pkgs =
  let fedora_detect () =
    Config.rpm <> "no" && Config.rpm2cpio <> "no"
&& rpm_is_available () &&
      (Config.yumdownloader <> "no" || Config.dnf <> "no")
&&
 -    (List.mem (Os_release.get_id ()) [ "fedora"; "rhel";
"centos";
 "openEuler"; "anolis" ] ||
 +    (List.mem (Os_release.get_id ()) [ "fedora"; "rhel";
"centos";
 "openEuler"; "anolis"; "KylinSecOS" ] ||
       try
         (stat "/etc/redhat-release").st_kind = S_REG ||
         (stat "/etc/fedora-release").st_kind = S_REG ||
         (stat "/etc/openEuler-release").st_kind = S_REG ||
 -       (stat "/etc/anolis-release").st_kind = S_REG
 +       (stat "/etc/anolis-release").st_kind = S_REG ||
 +       (stat "/etc/kylin-release").st_kind = S_REG
       with Unix_error _ -> false)
  let opensuse_detect () =