From: Jon Ringle <jon@ringle.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] ipkg-revision: make ar deterministic
Date: Tue, 20 Sep 2011 09:57:52 -0400 [thread overview]
Message-ID: <1316527072-20913-1-git-send-email-jon@ringle.org> (raw)
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
reply other threads:[~2011-09-20 14:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1316527072-20913-1-git-send-email-jon@ringle.org \
--to=jon@ringle.org \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox