From f28e2c7d00c99a7b7c34ba15caaed1c7f0911a65 Mon Sep 17 00:00:00 2001
From: chendexi <chendexi@kylinos.cn>
Date: Wed, 21 Feb 2024 10:38:06 +0800
Subject: [PATCH 2/2] add-for-support-NestOS-kernel

---
 rust/src/scripts.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rust/src/scripts.rs b/rust/src/scripts.rs
index 149389a..07f12d7 100644
--- a/rust/src/scripts.rs
+++ b/rust/src/scripts.rs
@@ -20,6 +20,8 @@ static IGNORED_PKG_SCRIPTS: phf::Set<&'static str> = phf_set! {
     "glibc-common.posttrans",
     "grub2-efi-x64.prein",
     "grub2-efi-aa64.prein",
+    // add for support NestOS kernel
+    "NestOS-kernel.posttrans",
     // We take over depmod/dracut etc.  It's `kernel` in C7 and kernel-core in F25+
     // XXX: we should probably change this to instead ignore based on the kernel virtual Provides
     "kernel.posttrans",
-- 
2.25.1

