添加arm64 amd64 risv64架构判断,测试编译问题

This commit is contained in:
liushanwen 2023-10-16 11:08:03 +08:00
parent fefe9157ab
commit 58ab43094c
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
initramfs-tools (0.142kylin13.0.2) yangtze; urgency=medium
* rules 文件中添加amd64 arm64 risv64架构
-- liushanwen <liushanwen@kylinos.cn> Mon, 16 Oct 2023 11:06:15 +0800
initramfs-tools (0.142kylin13.0.1) yangtze; urgency=medium
* rebuild initramfs-tools latest community version

2
debian/rules vendored
View File

@ -42,7 +42,7 @@ DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
ifeq (,$(filter i386,$(DEB_HOST_ARCH)))
ifeq (,$(filter amd64 arm64 riscv64 i386,$(DEB_HOST_ARCH)))
shellcheck -e SC1090,SC1091 -s dash hook-functions $$(find hooks scripts -type f) $$({ find . -maxdepth 1 -type f -executable; find debian -maxdepth 1 -type f; find docs kernel -type f; } | xargs grep -l '^#!/bin/sh')
endif
./tests/run-tests