Re: [PATCH] kbuild: create deterministic initramfs directory listings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2017-06-24 23:48 GMT+09:00 Bjørn Forsman <bjorn.forsman@xxxxxxxxx>:
> kbuild runs "find" on each entry in CONFIG_INITRAMFS_SOURCE that is a
> directory. The order of the file listing output by "find" matter for
> build reproducability, hence this patch applies "sort" to get
> deterministic results.
>
> Without this patch, two different machines with identical initramfs
> directory input may produce differing initramfs cpio archives (different
> hash) due to the different order of the files within the archive.
>
> Signed-off-by: Bjørn Forsman <bjorn.forsman@xxxxxxxxx>

Applied to linux-kbuild/misc.  Thanks!


-- 
Best Regards
Masahiro Yamada
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux