mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ipkg-revision: make ar deterministic
@ 2011-09-20 13:57 Jon Ringle
  0 siblings, 0 replies; only message in thread
From: Jon Ringle @ 2011-09-20 13:57 UTC (permalink / raw)
  To: ptxdist

large UID/GID > 99999 have problems due to split of header lines with ' '.
Use -D to create ar with UID/GID and timestamp 0.

Signed-off-by: Jon Ringle <jon@ringle.org>
---
 scripts/ipkg-revision |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/ipkg-revision b/scripts/ipkg-revision
index e76730b..40f786d 100755
--- a/scripts/ipkg-revision
+++ b/scripts/ipkg-revision
@@ -115,7 +115,7 @@ cd ..
 rm -fr control
 mv control-new.tar.gz control.tar.gz
 
-ar r ${IPKG_DIR}/${PACKAGE}_${NEW_REV_PART}${NEW_PKG_PART}_${ARCH}.ipk `find .  -type f` > /dev/null
+ar rD ${IPKG_DIR}/${PACKAGE}_${NEW_REV_PART}${NEW_PKG_PART}_${ARCH}.ipk `find .  -type f` > /dev/null
 
 #
 # ok, finished, cleanup
-- 
1.7.0.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-20 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-20 13:57 [ptxdist] [PATCH] ipkg-revision: make ar deterministic Jon Ringle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox