Commit 8b55360
committed
feat: add reproducible build parameter
Added CMAKE_SKIP_BUILD_RPATH flag to enable reproducible builds
This change ensures that builds are reproducible by preventing the
inclusion of build-specific paths in the binary
The flag is added to DEB_CMAKE_EXTRA_FLAGS and passed to
dh_auto_configure command
This is important for package verification and security auditing
Influence:
1. Test building the package multiple times to verify reproducibility
2. Compare binary checksums from different builds
3. Verify that the package still installs and runs correctly
4. Check that no build paths are embedded in the final binaries
5. Test cross-compilation scenarios if applicable
feat: 添加可重复编译参数
添加 CMAKE_SKIP_BUILD_RPATH 标志以启用可重复编译
此更改通过防止在二进制文件中包含特定于构建的路径来确保构建的可重复性
该标志被添加到 DEB_CMAKE_EXTRA_FLAGS 并传递给 dh_auto_configure 命令
这对于软件包验证和安全审计非常重要
Influence:
1. 多次测试构建软件包以验证可重复性
2. 比较不同构建的二进制文件校验和
3. 验证软件包仍能正确安装和运行
4. 检查最终二进制文件中是否嵌入了构建路径
5. 测试交叉编译场景(如果适用)1 parent 240c41d commit 8b55360
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
0 commit comments