projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ab7227
)
dcpomatic2_disk_writer needs cap_sys_admin otherwise umount fails.
author
Carl Hetherington
<cth@carlh.net>
Wed, 14 Jul 2021 21:17:59 +0000
(23:17 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 14 Jul 2021 21:17:59 +0000
(23:17 +0200)
cscript
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index 8071d9df8924962cc7567a53b9b0cad9aecc1ac7..0a68d5fb278c08179b1639ad0b58cffde534a88c 100644
(file)
--- a/
cscript
+++ b/
cscript
@@
-586,7
+586,7
@@
def package_debian(target, cpu, version, options):
with open('debian/postinst', 'w') as f:
print('#!/bin/sh', file=f)
# Get the required capability to write to disks
- print('setcap
cap_dac_override+ep
/usr/bin/dcpomatic2_disk_writer', file=f)
+ print('setcap
"cap_dac_override+ep cap_sys_admin+ep"
/usr/bin/dcpomatic2_disk_writer', file=f)
target.command('./waf dist')
f = open('debian/files', 'w')
print('dcpomatic_%s-1_%s.deb video extra' % (version, cpu), file=f)