mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
packaging: fix permissions issues
generated files should be using correct UID:GID Change-Id: I5eae54d683862154a873787c3d8e1b73b55b0beb
This commit is contained in:
parent
2b7a421e1f
commit
be036ba6b7
3 changed files with 3 additions and 0 deletions
|
@ -133,3 +133,4 @@ dpkg-buildpackage -b -uc -us ${DPKG_BUILD_OPTIONS}
|
|||
# Move the artifacts to the output.
|
||||
mv ../*deb /opt/output # .deb and .ddeb packages
|
||||
chown -R "${CURRENT_UID}:${CURRENT_UID}" /opt/output
|
||||
chown -R "${CURRENT_UID}:${CURRENT_UID}" .
|
||||
|
|
|
@ -144,6 +144,7 @@ rpmbuild --define "debug_package %{nil}" -ba jami.spec
|
|||
mv /root/rpmbuild/RPMS/*/* /opt/output
|
||||
touch /opt/output/.packages-built
|
||||
chown -R "$CURRENT_UID:$CURRENT_UID" /opt/output
|
||||
chown -R "${CURRENT_UID}:${CURRENT_UID}" .
|
||||
|
||||
# TODO: One click install: create a package that combines the already
|
||||
# built package into one.
|
||||
|
|
|
@ -35,4 +35,5 @@ snapcraft # requires snapcraft >= 4.8
|
|||
|
||||
# move the built snap to output
|
||||
mv *.snap /opt/output/
|
||||
chown -R "${CURRENT_UID}:${CURRENT_UID}" .
|
||||
chown ${CURRENT_UID}:${CURRENT_GID} /opt/output/*.snap
|
||||
|
|
Loading…
Add table
Reference in a new issue