summaryrefslogtreecommitdiff
path: root/sysui/CustomTarget_deb.mk
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2018-02-15 16:37:23 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-02-18 02:24:31 +0100
commit0add6dbacbed852f2b5180e04571f039cbf9dd0b (patch)
treea2e91dc7773c909a0d8389dd4d5512f347f1dbe3 /sysui/CustomTarget_deb.mk
parent2b266a338718ccd994a4cef05f128eb0c1b9fdc7 (diff)
tdf#115554: Fix ownership in desktop-integration tars
Use fakeroot to call tar when creating the tar.gz archives holding the desktop-integration parts to have root:root as owner of the files inside those. Change-Id: Idcdcb4dd398f330773671266dafb354711b0f093 Reviewed-on: https://gerrit.libreoffice.org/49827 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sysui/CustomTarget_deb.mk')
-rw-r--r--sysui/CustomTarget_deb.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysui/CustomTarget_deb.mk b/sysui/CustomTarget_deb.mk
index dd75ee913c62..92cda34a3bfe 100644
--- a/sysui/CustomTarget_deb.mk
+++ b/sysui/CustomTarget_deb.mk
@@ -25,7 +25,7 @@ $(foreach product,$(PRODUCTLIST),\
))
$(deb_WORKDIR)/%-desktop-integration.tar.gz: $(deb_WORKDIR)/%$(PKGVERSIONSHORT)-debian-menus_$(PKGVERSION)-$(LIBO_VERSION_PATCH)_all.deb
- $(GNUTAR) -C $(deb_WORKDIR) -cf - $(notdir $<) | gzip > $@
+ fakeroot $(GNUTAR) -C $(deb_WORKDIR) -cf - $(notdir $<) | gzip > $@
$(deb_WORKDIR)/%/DEBIAN/postrm: $(deb_SRCDIR)/postrm
cat $< | tr -d "\015" | \