Set DEB_BUILD_OPTIONS to nocheck while build with loong64

This commit is contained in:
Rewnosor 2024-07-30 13:47:01 +08:00 committed by openkylin-cibot
parent 131cda21cc
commit c946ab84eb
2 changed files with 10 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
util-linux (2.39.3-ok2build5) nile; urgency=medium
* Set DEB_BUILD_OPTIONS to nocheck while build with loong64.
-- liwenjun <liwenjun@kylinos.cn> Tue, 30 Jul 2024 13:45:50 +0800
util-linux (2.39.3-ok2build4) nile; urgency=medium
* add patches CVE-2024-28085.patch CVE-2024-28085-pre1.patch CVE-2024-28085-pre2.patch CVE-2024-28085-pre3.patch

4
debian/rules vendored
View File

@ -66,6 +66,10 @@ else
export deb_systemdsystemunitdir = debhelper needs this variable even when it doesn't need it
endif
ifneq (,$(filter $(DEB_HOST_ARCH), loong64))
export DEB_BUILD_OPTIONS += nocheck
endif
%:
dh $@