修复openkylin 编译casper时,获取BUILD_SYSTEM名称与casper-help匹配不上的问题

This commit is contained in:
liushanwen 2024-10-10 10:47:57 +08:00 committed by openkylin-cibot
parent dc908c5878
commit ed7a70c1c0
3 changed files with 29 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
casper (1.445-ok11.3) nile; urgency=medium
* 修复openkylin 编译casper时获取BUILD_SYSTEM名称与casper-help匹配不上的问题
-- liushanwen <liushanwen@kylinos.cn> Thu, 10 Oct 2024 10:44:34 +0800
casper (1.445-ok11.2) nile; urgency=medium
* control file add fdisk dependce

View File

@ -0,0 +1,22 @@
From: liushanwen <liushanwen@kylinos.cn>
Date: Thu, 10 Oct 2024 10:47:57 +0800
Subject: =?utf-8?b?5L+u5aSNb3Blbmt5bGluIOe8luivkWNhc3BlcuaXtu+8jOiOt+WPlkJV?=
=?utf-8?b?SUxEX1NZU1RFTeWQjeensOS4jmNhc3Blci1oZWxw5Yy56YWN5LiN5LiK55qE6Zeu?=
=?utf-8?b?6aKY?=
---
scripts/casper-helpers | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/casper-helpers b/scripts/casper-helpers
index 716af2f..1e77d74 100644
--- a/scripts/casper-helpers
+++ b/scripts/casper-helpers
@@ -1,6 +1,6 @@
## Casper helper functions, used by casper on boot and by casper-snapshot
-if [ "${BUILD_SYSTEM}" = "Debian" ] || [ "${BUILD_SYSTEM}" = "Ubuntu" ] || [ "${BUILD_SYSTEM}" = "Kylin" ] || [ "${BUILD_SYSTEM}" = "Openkylin" ]; then
+if [ "${BUILD_SYSTEM}" = "Debian" ] || [ "${BUILD_SYSTEM}" = "Ubuntu" ] || [ "${BUILD_SYSTEM}" = "Kylin" ] || [ "${BUILD_SYSTEM}" = "openKylin" ]; then
MP_QUIET="-q"
else
MP_QUIET=""

View File

@ -6,3 +6,4 @@
0006-update-casper.patch
0007-update-changlog.patch
0008-Fix-the-wrong-wayland-sessions-path.patch
0009-openkylin-casper-BUILD_SYSTEM-casper-help.patch