mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 10:00:38 +01:00
Fixed #8034: set owner/group in tarball of non-root builds
(cherry picked from commit 1786e3665b
)
This commit is contained in:
parent
39e045c195
commit
f4ac2f4b93
@ -45,6 +45,8 @@ BuildRoot=$(GEN_ROOT)
|
||||
CLIENT_ONLY_FLG=@CLIENT_ONLY_FLG@
|
||||
WITH_TOMCRYPT=@WITH_TOMCRYPT@
|
||||
|
||||
TAR=tar --owner root --group root
|
||||
|
||||
InstallRoot=.
|
||||
|
||||
BuildVersion=$(FirebirdVersion).$(BuildNum)
|
||||
@ -80,12 +82,12 @@ packages: tarfile debugfile
|
||||
tarfile: $(TarFile)
|
||||
|
||||
$(TarFile) : buildTarDir
|
||||
(cd $(GEN_ROOT); tar -czf $(TarFile) $(TarDir))
|
||||
(cd $(GEN_ROOT); $(TAR) -czf $(TarFile) $(TarDir))
|
||||
|
||||
debugfile: $(DebugFile)
|
||||
|
||||
$(DebugFile) : buildImageDir
|
||||
(cd $(GEN_ROOT)/$(DebugDir); tar -czf ../$(DebugFile) .)
|
||||
(cd $(GEN_ROOT)/$(DebugDir); $(TAR) -czf ../$(DebugFile) .)
|
||||
|
||||
buildRoot:
|
||||
(cd $(GEN_ROOT); ./install/makeInstallImage.sh)
|
||||
@ -118,8 +120,8 @@ ifeq ($(CLIENT_ONLY_FLG),N)
|
||||
cp -r $(GEN_ROOT)/install/install.sh $(GEN_ROOT)/$(TarDir)
|
||||
chmod a+x $(GEN_ROOT)/$(TarDir)/*.sh
|
||||
endif
|
||||
(cd $(GEN_ROOT)/$(TarDir); tar -C ../buildroot -czf buildroot.tar.gz . )
|
||||
(cd $(GEN_ROOT)/$(TarDir); tar -tzf buildroot.tar.gz > manifest.txt )
|
||||
(cd $(GEN_ROOT)/$(TarDir); $(TAR) -C ../buildroot -czf buildroot.tar.gz . )
|
||||
(cd $(GEN_ROOT)/$(TarDir); $(TAR) -tzf buildroot.tar.gz > manifest.txt )
|
||||
|
||||
|
||||
install: buildTarDir
|
||||
|
Loading…
Reference in New Issue
Block a user