Commit a16ad2b
authored
Fix DEB packaging to support multi-arch builds
Fix DEB build failures on arm64 by addressing three issues:
- Change Architecture from 'amd64' to 'any' in control file to
support building on any architecture
- Fix DESTDIR path in rules to correctly install cloudberry-env.sh
to the debian staging directory
- Use DEB_HOST_MULTIARCH variable instead of hardcoded x86_64 path
for libfakeroot in dh_shlibdeps
- Update workflow to support new deb format
Also update package version format to include OS distribution name
(e.g., ubuntu22.04) instead of git commit info for clearer package
identification. The file name format will be like:
```
apache-cloudberry-db-incubating_2.1.0-1-ubuntu22.04_arm64.deb
```
Before:
```
apache-cloudberry-db-incubating_2.1.0-1-1.bdf90c55_arm64.deb
```1 parent 4101d34 commit a16ad2b
File tree
4 files changed
+23
-6
lines changed- .github/workflows
- devops/build/packaging/deb
- ubuntu22.04
4 files changed
+23
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | | - | |
558 | | - | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
559 | 566 | | |
560 | 567 | | |
561 | 568 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
128 | 138 | | |
129 | 139 | | |
130 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
0 commit comments