Skip to content

deb: Dont include /usr in package#22

Merged
bastelfreak merged 1 commit intoOpenVoxProject:mainfrom
bastelfreak:usr
Jul 15, 2025
Merged

deb: Dont include /usr in package#22
bastelfreak merged 1 commit intoOpenVoxProject:mainfrom
bastelfreak:usr

Conversation

@bastelfreak
Copy link
Copy Markdown
Contributor

The /usr directory contains only two files:

/usr
/usr/lib
/usr/lib/tmpfiles.d
/usr/lib/tmpfiles.d/puppetserver.conf
/usr/share
/usr/share/doc
/usr/share/doc/openvox-server
/usr/share/doc/openvox-server/changelog.gz

Since #5, we don't package /usr/lib/tmpfiles.d/puppetserver.conf anymore. And the changelog.gz is autogenerated by fpm afterwards. That means that in our packaging directory, there is no /usr. If we force fpm to package it, it will raise an error.

This change was tested in https://github.com/OpenVoxProject/openvox-server

The `/usr` directory contains only two files:

```
/usr
/usr/lib
/usr/lib/tmpfiles.d
/usr/lib/tmpfiles.d/puppetserver.conf
/usr/share
/usr/share/doc
/usr/share/doc/openvox-server
/usr/share/doc/openvox-server/changelog.gz
```

Since OpenVoxProject#5, we don't package
/usr/lib/tmpfiles.d/puppetserver.conf anymore. And the changelog.gz is
autogenerated by fpm afterwards. That means that in our packaging
directory, there is no `/usr`. If we force fpm to package it, it will
raise an error.

This change was tested in https://github.com/OpenVoxProject/openvox-server
@bastelfreak bastelfreak self-assigned this Jul 15, 2025
@bastelfreak bastelfreak added the bug Something isn't working label Jul 15, 2025
Copy link
Copy Markdown

@TheMeier TheMeier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well it looks plausible to me. I can't really tell if it's ok or not. Let's hope this is coverd by tests :D

@bastelfreak
Copy link
Copy Markdown
Contributor Author

The hope is strong!

@bastelfreak bastelfreak merged commit 48488a3 into OpenVoxProject:main Jul 15, 2025
4 checks passed
@bastelfreak bastelfreak deleted the usr branch July 15, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants