From: "'Cedric Hombourger' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: Cedric Hombourger <cedric.hombourger@siemens.com>
Subject: [PATCH 1/1] dpkg-raw: sort .install for reproducible meta-data
Date: Sun, 9 Nov 2025 14:51:02 +0100 [thread overview]
Message-ID: <20251109135102.3586598-2-cedric.hombourger@siemens.com> (raw)
In-Reply-To: <20251109135102.3586598-1-cedric.hombourger@siemens.com>
dpkg-raw creates a .install file listing files found in ${D},
the order in which files/directories are being listed is not
deterministic if they aren't sorted: apply "sort" to the
"find" command.
Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
---
meta/classes/dpkg-raw.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/dpkg-raw.bbclass b/meta/classes/dpkg-raw.bbclass
index d4cb7d8a..ba756eef 100644
--- a/meta/classes/dpkg-raw.bbclass
+++ b/meta/classes/dpkg-raw.bbclass
@@ -23,7 +23,7 @@ do_prepare_build[cleandirs] += "${S}/debian"
do_prepare_build() {
cd ${D}
find . -maxdepth 1 ! -name .. -and ! -name . -and ! -name debian | \
- sed 's:^./::' > ${S}/debian/${PN}.install
+ sed 's:^./::' | sort > ${S}/debian/${PN}.install
deb_debianize
--
2.47.3
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20251109135102.3586598-2-cedric.hombourger%40siemens.com.
prev parent reply other threads:[~2025-11-09 13:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-09 13:51 [PATCH 0/1] " 'Cedric Hombourger' via isar-users
2025-11-09 13:51 ` 'Cedric Hombourger' via isar-users [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=20251109135102.3586598-2-cedric.hombourger@siemens.com \
--to=isar-users@googlegroups.com \
--cc=cedric.hombourger@siemens.com \
/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