mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-28 21:17:36 +00:00
Debian policy reserves /usr/local/ for the local administrator; packages may not install files there. dh_usrlocal was correctly rejecting the staged tree built from remote-ui/square/files/. Move: remote-ui/square/files/usr/local/sbin/firstboot.sh → remote-ui/square/files/usr/lib/secubox/firstboot.sh Update ExecStart in secubox-firstboot.service to match. The new location is namespaced under /usr/lib/secubox/ consistent with the sister helpers find-usb-serial and leasewatch.sh shipped by secubox-system. Bump 1.0.2 → 1.0.3. Local dpkg-buildpackage now produces a valid .deb; `dpkg-deb -c` confirms: - /usr/lib/secubox/firstboot.sh (0755) - /etc/systemd/system/secubox-firstboot.service (with new ExecStart) - no entries under /usr/local/ Co-authored-by: CyberMind-FR <gandalf@Gk2.net> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| etc | ||
| usr/lib/secubox | ||