Skip to content

build: Standardize service binary paths, refine Debian package dependencies, and improve post-installation setup - #11

Merged
Vladush merged 1 commit into
masterfrom
fix/deb-package-paths
Jan 7, 2026
Merged

Vladush merged 1 commit into
masterfrom
fix/deb-package-paths

Conversation

@Vladush

@Vladush Vladush commented Jan 7, 2026

Copy link
Copy Markdown
Owner

Description

Fixes installation errors in the Debian package where the service file used incorrect binary paths and required directories were not created during post-installation.

Changes:

  • Updated linuxcampam.service to use /usr/bin/ paths (matching deb install location) instead of /usr/local/bin/
  • Fixed postinst to create /etc/linuxcampam/users and /etc/linuxcampam/models directories before chmod
  • Added .service suffix to systemctl enable/restart commands for correctness
  • Added missing detect_opencl.sh installation to CMakeLists.txt
  • Changed dependencies from -dev packages to runtime libraries (libopencv-core406t64, etc.)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

  • Built and installed deb package on Ubuntu 24.04
  • Verified service starts successfully after installation
  • Confirmed no chmod errors during postinst
  • Verified runtime dependencies don't pull in unnecessary -dev packages

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

…encies, and improve post-installation setup.
@Vladush
Vladush merged commit e7f3fc9 into master Jan 7, 2026
5 checks passed
@Vladush
Vladush deleted the fix/deb-package-paths branch January 7, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant