From aca55fd81dbe48001f75fb78f3c1285f533f1ce0 Mon Sep 17 00:00:00 2001 From: liushanwen Date: Fri, 11 Oct 2024 15:16:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0BUILD=5FSYSTEM=3DOpenkylin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 6 ++++++ .../patches/0010-BUILD_SYSTEM-Openkylin.patch | 20 +++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 27 insertions(+) create mode 100644 debian/patches/0010-BUILD_SYSTEM-Openkylin.patch diff --git a/debian/changelog b/debian/changelog index d032c87..4b363e4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +casper (1.445-ok11.4) nile; urgency=medium + + * 添加BUILD_SYSTEM = Openkylin编译环境 + + -- liushanwen Fri, 11 Oct 2024 15:14:24 +0800 + casper (1.445-ok11.3) nile; urgency=medium * 修复openkylin 编译casper时,获取BUILD_SYSTEM名称与casper-help匹配不上的问题 diff --git a/debian/patches/0010-BUILD_SYSTEM-Openkylin.patch b/debian/patches/0010-BUILD_SYSTEM-Openkylin.patch new file mode 100644 index 0000000..fd2035e --- /dev/null +++ b/debian/patches/0010-BUILD_SYSTEM-Openkylin.patch @@ -0,0 +1,20 @@ +From: liushanwen +Date: Fri, 11 Oct 2024 15:16:02 +0800 +Subject: =?utf-8?b?5re75YqgQlVJTERfU1lTVEVNPU9wZW5reWxpbg==?= + +--- + scripts/casper-helpers | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scripts/casper-helpers b/scripts/casper-helpers +index 1e77d74..1da7c81 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" ] || [ "${BUILD_SYSTEM}" = "Openkylin" ]; then + MP_QUIET="-q" + else + MP_QUIET="" diff --git a/debian/patches/series b/debian/patches/series index 3a0200c..53bd936 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ 0007-update-changlog.patch 0008-Fix-the-wrong-wayland-sessions-path.patch 0009-openkylin-casper-BUILD_SYSTEM-casper-help.patch +0010-BUILD_SYSTEM-Openkylin.patch