Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: j.lemetayer@kerlink.fr
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] package: always sort the conffiles
Date: Fri, 28 Jul 2023 12:31:31 +0200	[thread overview]
Message-ID: <2023072810313162556501@mail.local> (raw)
In-Reply-To: <20230727153732.1104305-1-j.lemetayer@kerlink.fr>

Hello,

On 27/07/2023 17:37:32+0200, Jean-Marie Lemetayer via lists.openembedded.org wrote:
> To improve package reproducibility, the conffiles order should not be
> directly linked to the file system.
> 
> Sorting the conffiles solves this issue.


This is missing you Signed-off-by tag.

> ---
>  meta/lib/oe/package.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py
> index 70040f09e7..9d70925b9b 100644
> --- a/meta/lib/oe/package.py
> +++ b/meta/lib/oe/package.py
> @@ -613,7 +613,7 @@ def get_conffiles(pkg, d):
>          conf_list[i] = conf_list[i][1:]
>  
>      os.chdir(cwd)
> -    return conf_list
> +    return sorted(conf_list)
>  
>  def legitimize_package_name(s):
>      """
> -- 
> 2.34.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#184964): https://lists.openembedded.org/g/openembedded-core/message/184964
> Mute This Topic: https://lists.openembedded.org/mt/100392906/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


  reply	other threads:[~2023-07-28 10:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-27 15:37 [PATCH] package: always sort the conffiles Jean-Marie Lemetayer
2023-07-28 10:31 ` Alexandre Belloni [this message]
2023-08-01  7:52   ` [PATCH v2] " Jean-Marie Lemetayer
2023-08-01  7:56   ` Jean-Marie Lemetayer

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=2023072810313162556501@mail.local \
    --to=alexandre.belloni@bootlin.com \
    --cc=j.lemetayer@kerlink.fr \
    --cc=openembedded-core@lists.openembedded.org \
    /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