mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] ptxd_make_get_svn: Sort members of resulting archive by name
Date: Thu, 15 Dec 2022 08:34:56 +0100	[thread overview]
Message-ID: <20221215073456.2504813-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20221205172824.3468159-1-u.kleine-koenig@pengutronix.de>

Thanks, applied as 077d2aaaf06af81695c54543867ebc4bd294ace1.

Michael

[sent from post-receive hook]

On Thu, 15 Dec 2022 08:34:56 +0100, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote:
> Without this option the order of the files in the created archive
> depends on things like the used filesystem. To make the order (and so
> the resulting md5sum) reproducible, use --sort=name.
> 
> This option is supported in GNU tar since version 1.28 from 2014, which
> is available since Debian 7 (aka wheezy).
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> Message-Id: <20221205172824.3468159-1-u.kleine-koenig@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/scripts/lib/ptxd_make_get.sh b/scripts/lib/ptxd_make_get.sh
> index 2b0ad9307476..e78c417278e4 100644
> --- a/scripts/lib/ptxd_make_get.sh
> +++ b/scripts/lib/ptxd_make_get.sh
> @@ -268,7 +268,7 @@ ptxd_make_get_svn() {
>  	echo "${PROMPT}svn: last modification time '${lmtime}'" &&
>  	GZIP=-n tar --exclude-vcs --show-stored-names ${tarcomp} \
>  		--mtime="${lmtime}" --transform "s|^\.|${prefix}|g" \
> -		--create --file "${path}" -C "${mirror}" .
> +		--create --sort=name --file "${path}" -C "${mirror}" .
>  	ptxd_make_serialize_put
>  }
>  export -f ptxd_make_get_svn



      reply	other threads:[~2022-12-15  7:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-05 17:28 [ptxdist] [PATCH] " Uwe Kleine-König
2022-12-15  7:34 ` Michael Olbrich [this message]

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=20221215073456.2504813-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=u.kleine-koenig@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