linux-erofs.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Question about mkfs.erofs and reproducible builds
@ 2021-10-27 11:11 Todor Ivanov
  2021-10-27 11:27 ` Gao Xiang
  0 siblings, 1 reply; 6+ messages in thread
From: Todor Ivanov @ 2021-10-27 11:11 UTC (permalink / raw)
  To: linux-erofs

[-- Attachment #1: Type: text/plain, Size: 968 bytes --]

        Hello,

        We are trying to replace squashfs with erofs and face an issue with
reproducing the build from one and the same source folder. The source
folder is "/etc" actually taken from an offline ubuntu 20.04 image and
mounted as read-only.
        I managed to narrow down the scope and it turns out that the issue
is when you have a file starting with "." (dot) in this folder. I.e.:

etc/.anyfilename

If I remove this file the erofs image of "etc" is reproducible (-T and -U
are used as well)

The issue is somehow related to the other 76 subfolders of etc and this
file starting with dot. For example if I create such .anyfilename in usr or
var, there is no issue. Also if I create this file under
etc/xdg/.anyfilename, this is fine as well.
I also tried with etc from debian10 and the result is the same. Removing
any file that starts with dot directly under etc, makes the erofs build
reproducible.
Do you have any advice on this?

Regards,
Todor

[-- Attachment #2: Type: text/html, Size: 1217 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-10-27 14:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27 11:11 Question about mkfs.erofs and reproducible builds Todor Ivanov
2021-10-27 11:27 ` Gao Xiang
2021-10-27 11:41   ` Todor Ivanov
2021-10-27 11:51     ` Gao Xiang
2021-10-27 13:40       ` Todor Ivanov
2021-10-27 14:04         ` Gao Xiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).