44 Commits

Author SHA1 Message Date
Huaxin Lu
3bcf5abe5e ima: keep the process of OBS signing same as previous version
(cherry picked from commit 9e4c57f0338de224025346b7e56d19401701a268)
2025-01-15 09:56:19 +08:00
liyunfei
dab106ca0f Fix for "%undefine _auto_set_build_XX" usage
Fix for using "%undefine  _auto_set_build_XX" casue error:

macro expansion did not return an integer: %{_auto_set_build_flags} ? "%{set_build_flags}" : ""

Signed-off-by: liyunfei <liyunfei33@huawei.com>
(cherry picked from commit 91eff2bd0a5a861be51f26c55ad8092acdf25a40)
2024-08-06 10:59:50 +08:00
xujing
b72db74b92 don't delete the commented code in macros
(cherry picked from commit 5a558f96b8ef33b32aa1cad689cb5f862fe398f6)
2024-04-29 16:40:21 +08:00
laokz
f5c9b6d04b add riscv64 to some arches macro 2024-04-27 15:24:09 +08:00
zgzxx
c5610355c3 ima digest list ebs sign ret 2 when errmsg is SIGN_PERMISSION_DENIED 2024-04-07 15:22:12 +08:00
zgzxx
b271544d5e ima digest list ebs sign use file path and check errmsg
(cherry picked from commit ffcebdf4caeb858138a7a064411b686f16bfd206)
2024-03-29 17:34:43 +08:00
zgzxx
fe959bce3f ima digest list ebs sign support modsig
(cherry picked from commit db335c296b5d5904756a4b6211feac73fed6e59b)
2024-03-22 15:37:51 +08:00
yueyuankun
047495a7f7 Loongsarch64 SW_64 architecture adds optflags macro to enhance the robustness of compiled programs and prevent common security issues 2024-03-19 16:41:52 +08:00
liyunfei
b2fe4df689 Add clang tool chain support
(cherry picked from commit 2d026042952afd5d7f283838d06ed28a6013ea71)
2024-03-12 16:46:51 +08:00
hongjinghao
ed4d969357 Delete the commented code 2024-03-05 20:25:37 +08:00
邹鹏
6b747a1ea4 add powerpc64le to generic_arches 2024-02-21 11:41:07 +08:00
jiahua.yu
381949d821 Init support for arch ppc64le 2023-12-12 10:03:04 +08:00
xujing
699f88d6a9 add the scanning path of the rpath and excute brp_chrpath before arch_install_post
By the way, fix the ELF file cannot be found due to escape of '\'.
2023-11-22 10:57:30 +08:00
fly_fzc
59b583b8ae check if the file is a symbolic link in brp-digest-list 2023-11-03 15:43:59 +08:00
Yang Yanchao
46f0153446 kmodtool: use tmp.$$ instand of tmp.txt
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2023-11-02 20:38:10 +08:00
liyunfei
e0d7689fdb Revert backport toolchain selecting and %%auto_set_build_flags patches 2023-08-28 21:21:43 +08:00
liyunfei
82c3411792 [Bugfix] fix release number for last change 2023-08-28 09:59:36 +08:00
liyunfei
17a3437dd2 [Backport] Call %set_build_flags before %build, %check, and %install stages
https://fedoraproject.org/wiki/Changes/SetBuildFlagsBuildCheck

Originally by: tstellar
2023-08-23 10:25:45 +08:00
liyunfei
d41bab9bda [Backport]Add support for selecting a clang as a tool
Reference:
7562b38ec5

Originally-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2023-08-18 15:45:57 +08:00
desert-sailor
cce56588a5 add pytest and tox macros 2023-07-24 11:42:29 +08:00
caodongxia
a20620c109 improve pyproject_install macro 2023-05-11 10:44:59 +08:00
caodongxia
b17ca39990 support pyproject compilation 2023-04-20 19:21:26 +08:00
laokz
b1c962c264 fix riscv64 default library directory of brp-ldconfig 2023-03-24 10:05:40 +08:00
Xinliang Liu
290861e7bc Fix kmod rpm install failed
Fix kmod rpm install failed which built via macro kernel_module_package.

Remove "%global _use_internal_dependency_generator 0" to workaround
below install dependency error, because current kernel rpm doesn't
provide kernel symbols.
"nothing provides kernel(xx) .. needed by kmod-.."
See issue:
https://gitee.com/src-openeuler/openEuler-rpm-config/issues/I6NR1U

Use path "/usr/sbin/depmod" instead of "/sbin/depmod" to fix install
error: "nothing provides /sbin/depmod needed by kmod-xx".

Remove "echo "/lib/firmware/"" to fix below build error:
"error: Directory not found: /xx/BUILDROOT/xxx/lib/firmware"

Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
2023-03-17 02:30:45 +00:00
Huaxin Lu
f1576a29d1 add support for EBS sign 2023-01-14 11:23:18 +08:00
Jingyun Hua
707c68c379 fix config error for loongarch64
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
2022-12-14 09:25:43 +00:00
Wenlong Zhang
4b656a211c add loongarch64 for golang_arches
Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn>
2022-12-13 20:17:11 +08:00
yangmingtaip
3e377eeeb1 fix latest_kernel macro 2022-12-08 10:05:45 +08:00
Yang Yanchao
81d060013d backport kmp feature 2022-12-07 18:01:52 +08:00
yangmingtaip
84ce424fb5 support adaptive according to vendor 2022-11-30 20:34:56 +08:00
Jingyun Hua
4a49256f53 add loongarch64 support
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
2022-11-28 03:07:13 +00:00
openeuler-ci-bot
6baf165332
!76 【轻量级 PR】:fix bogus date in %changelog
From: @zhangkea 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2022-10-27 02:38:49 +00:00
yangmingtaip
d12b079292 macro.kmp support -p preamble 2022-10-12 15:23:32 +08:00
yangmingtaip
8d2522e573 add find-requires and find-requires.ksyms 2022-09-08 20:33:13 +08:00
ut001695
ca88141a49 fix bogus date in %changelog 2022-06-15 11:14:55 +08:00
yangmingtaip
99f3181ed6 fix build failed,barewordsarenolongersupported 2022-06-13 22:12:16 +08:00
Liu Zixian
4ed324f75c fix python macros 2021-12-13 10:37:45 +08:00
shixuantong
4480285039 update the definition of python3_version 2021-11-26 14:51:41 +08:00
wangkerong
e9b7b1f03a add commom script 2021-10-13 11:07:06 +08:00
yangmingtaip
959aa69699 add brp scripts to delete rpath 2021-09-04 14:38:20 +08:00
nettingsisyphus
d64a49bc3a exclude kernel source and EFI files in digest list building 2021-04-20 20:21:21 +08:00
Yangyang Shen
d98d53dfcf Patched missing patch that remove fexceptions 2021-03-29 14:30:05 +08:00
Yangyang Shen
3467cf67da Modify support for change vendor with better method 2021-03-29 09:19:21 +08:00
Yangyang Shen
5ac7de7556 Change the name of spec to openEuler-rpm-spec and fix few bugs 2021-03-18 16:07:56 +08:00