Commit cdb2e11
Fix deb package missing bundled libraries (fixes #362)
The docker export tar extraction failed silently on Debian trixie/sid
because: (1) libsod was extracted from 'lib/libsod.so*' but usrmerge
maps /lib → /usr/lib, so the tar stores files under usr/lib/; (2)
docker export may prefix paths with './' which the old wildcards
didn't match. This left /usr/lib/lightnvr empty in the .deb package.
- Add both 'usr/lib/…' and './usr/lib/…' wildcard variants for all
four bundled libraries (libuv, llhttp, sqlite3, libsod)
- Add post-extraction verification that fails the build if any
expected library is missing
- Update Dockerfile to COPY libsod from /usr/lib/ consistently with
the other libraries
- Clean up redundant symlink creation loop
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2086967 commit cdb2e11
2 files changed
Lines changed: 24 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
109 | 113 | | |
110 | 114 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
120 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
121 | 136 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 137 | + | |
| 138 | + | |
130 | 139 | | |
131 | 140 | | |
132 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
| 211 | + | |
| 212 | + | |
215 | 213 | | |
216 | 214 | | |
217 | 215 | | |
| |||
0 commit comments