rpm-ostree/add-for-support-NestOS-kernel.patch
wangyueliang 11ef8c9658 modify to support NestOS kernel
(cherry picked from commit e12af9349ac4c82b48ded6e91e0812f8089cad19)
2023-10-16 09:39:17 +08:00

26 lines
819 B
Diff

From d28c0e475681a124160c0d423ddccc38ea3c0608 Mon Sep 17 00:00:00 2001
From: wangyueliang <wangyueliang@kylinos.cn>
Date: Sun, 17 Sep 2023 18:45:22 +0800
Subject: [PATCH] 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 078322a..08ac7de 100644
--- a/rust/src/scripts.rs
+++ b/rust/src/scripts.rs
@@ -23,6 +23,8 @@ static IGNORED_PKG_SCRIPTS: phf::Set<&'static str> = phf_set! {
"kernel-core.posttrans",
"kernel-debug-core.posttrans",
"kernel-automotive-core.posttrans",
+ // add for support NestOS kernel
+ "NestOS-kernel.posttrans",
// Additionally ignore posttrans scripts for the Oracle Linux `kernel-uek` package
"kernel-uek.posttrans",
// Legacy workaround
--
2.25.1