Commit 114a16a
committed
fix: install ca-certificates with rpm --noscripts to avoid QEMU issues
The ca-certificates package scriptlets fail under ARM64 QEMU emulation
when using dnf --installroot because scriptlets cannot find /bin/sh
in the chroot environment.
Solution:
1. Install core packages (filesystem, bash, python, procps-ng) with dnf
- These scriptlets work fine with --installroot
2. Download ca-certificates package separately
3. Install ca-certificates using rpm with --noscripts flag
- Bypasses scriptlet execution entirely
- Package files are installed correctly
- Avoids QEMU emulation scriptlet failures
Tested locally: rpm --noscripts approach successfully installs
ca-certificates without errors.
Fixes multiplatform build failures in PR #1166
Signed-off-by: Manav Gupta <[email protected]>1 parent 7ddacb0 commit 114a16a
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
116 | | - | |
| 117 | + | |
| 118 | + | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| 122 | + | |
120 | 123 | | |
121 | 124 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | 125 | | |
127 | | - | |
128 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| |||
0 commit comments