Commit 84ef305
committed
fix(ci): fix armhf runner and conffiles dpkg-deb failure
Two bugs in the initial debian-package.yml:
1. armhf runner was ubuntu-24.04-arm (arm64 host). Building arm32
under QEMU on an arm64 host is unstable — libuv cmake fails.
docker-publish.yml uses ubuntu-latest (amd64) for arm/v7, which is
stable. Align the armhf runner to ubuntu-latest.
2. DEBIAN/conffiles listed /etc/lightnvr/lightnvr.ini and
/etc/lightnvr/go2rtc/go2rtc.yaml, but the runtime Docker image
does not include these files (they live only in the builder stage
and are NOT copied to the runtime stage). dpkg-deb --build exits 2
when conffiles references files absent from the package.
Fix: install config/lightnvr.ini from the repo checkout and
generate go2rtc.yaml inline — both now guaranteed to be present.1 parent e71b4fe commit 84ef305
1 file changed
+32
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
125 | 152 | | |
126 | 153 | | |
127 | 154 | | |
| |||
0 commit comments