[open-ils-commits] [GIT] Evergreen ILS branch master updated. d774778854da9fa0f00b66322643a1b3eb7175be

Evergreen Git git at git.evergreen-ils.org
Thu Jan 16 14:08:01 EST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  d774778854da9fa0f00b66322643a1b3eb7175be (commit)
      from  f7a049def031246256ddb4ae6d572199f193b36e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d774778854da9fa0f00b66322643a1b3eb7175be
Author: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
Date:   Tue Jan 14 17:11:45 2014 -0500

    In prereq installer, don't try to chown extracted files to original UID/GID
    
    As this Makefile is designed to be used by a make process running as
    root, this will avoid problems on some systems when tar extracts
    files and tries to give them the same UID/GID as they have in their
    archives, but those accounts don't exist on the local system.
    
    e.g, libdbi has files set 1000/1000. On most systems, there's a user
    and a group with these IDs, but there can be systems where nothing
    uses those IDs, and where tar fails with e.g. 'tar: libdbi-0.8.3:
    Cannot change ownership to uid 1000, gid 1000: Invalid argument'
    
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/extras/Makefile.install b/Open-ILS/src/extras/Makefile.install
index 4ddd7cb..906ed3d 100644
--- a/Open-ILS/src/extras/Makefile.install
+++ b/Open-ILS/src/extras/Makefile.install
@@ -44,6 +44,18 @@ export LIBDBI=libdbi-0.8.3
 export LIBDBI_DRIVERS=libdbi-drivers-0.8.3
 export LIBDBI_HOST=http://open-ils.org/~denials/evergreen
 
+# As this Makefile is designed to be used by a make process running as
+# root, this will avoid problems on some systems when tar extracts
+# files and tries to give them the same UID/GID as they have in their
+# archives, but those accounts don't exist on the local system.
+#
+# e.g, libdbi has files set 1000/1000. On most systems, there's a user
+# and a group with these IDs, but there can be systems where nothing
+# uses those IDs, and where tar fails with e.g. 'tar: libdbi-0.8.3:
+# Cannot change ownership to uid 1000, gid 1000: Invalid argument'
+#
+export TAR_OPTIONS=--no-same-owner --no-same-permissions
+
 # ----------------------------------------------------------------------------
 
 # avoid hard-coding the path to related makefiles

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/extras/Makefile.install |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list