d/rules: Normalize permissions of installed-tests
This commit is contained in:
parent
065143d597
commit
5518c1c923
|
|
@ -75,11 +75,14 @@ override_dh_makeshlibs:
|
||||||
# this is an LD_PRELOAD, not a real shared library
|
# this is an LD_PRELOAD, not a real shared library
|
||||||
dh_makeshlibs -Xinstalled-tests/ostree/libreaddir-rand.so
|
dh_makeshlibs -Xinstalled-tests/ostree/libreaddir-rand.so
|
||||||
|
|
||||||
override_dh_fixperms-arch:
|
override_dh_fixperms:
|
||||||
# dh_fixperms assumes *.js are for browsers and makes them 0644.
|
dh_fixperms -Xusr/libexec/installed-tests
|
||||||
dh_fixperms -X'*.js'
|
ifneq ($(filter %-tests,$(binaries)),)
|
||||||
find debian/tmp -type f -name '*.js' -print0 | \
|
# debhelper >= 13.4 makes all of /usr/libexec executable, which is not
|
||||||
xargs -0r chmod -v go=rX,u+rw,a-s
|
# quite right for installed-tests
|
||||||
|
chmod --changes u=rw,og=r debian/*-tests/usr/libexec/installed-tests/*/*.so
|
||||||
|
chmod --recursive --changes a+rX,u+w,og-w debian/*-tests/usr/libexec/installed-tests
|
||||||
|
endif
|
||||||
|
|
||||||
override_dh_installsystemd:
|
override_dh_installsystemd:
|
||||||
dh_installsystemd --no-start
|
dh_installsystemd --no-start
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue