Linux-KBuild Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] Documentation: kbuild: Add initramfs into reproducible builds document
@ 2020-10-12  9:35 jouni.hogander
  0 siblings, 0 replies; only message in thread
From: jouni.hogander @ 2020-10-12  9:35 UTC (permalink / raw)
  To: linux-doc; +Cc: linux-kbuild, corbet, masahiroy, dvyukov, Jouni Hogander

From: Jouni Hogander <jouni.hogander@unikie.com>

Initramfs configuration has impact on build being reproducible

Signed-off-by: Jouni Hogander <jouni.hogander@unikie.com>
---
 Documentation/kbuild/reproducible-builds.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/kbuild/reproducible-builds.rst b/Documentation/kbuild/reproducible-builds.rst
index 3b25655e441b..559700531a48 100644
--- a/Documentation/kbuild/reproducible-builds.rst
+++ b/Documentation/kbuild/reproducible-builds.rst
@@ -119,6 +119,14 @@ To avoid this, you can make the vDSO different for different
 kernel versions by including an arbitrary string of "salt" in it.
 This is specified by the Kconfig symbol ``CONFIG_BUILD_SALT``.
 
+Initial RAM Filesystem
+----------------------
+
+If ``CONFIG_BLK_DEV_INITRD`` is enabled and ``CONFIG_INITRAMFS_SOURCE``
+doesn't contain gzipped cpio archive, an initramfs is generated during
+build. To avoid this provide gzipped cpio archive via
+``CONFIG_INITRAMFS_SOURCE``
+
 .. _KBUILD_BUILD_TIMESTAMP: kbuild.html#kbuild-build-timestamp
 .. _KBUILD_BUILD_USER and KBUILD_BUILD_HOST: kbuild.html#kbuild-build-user-kbuild-build-host
 .. _KCFLAGS: kbuild.html#kcflags
-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-12  9:35 [PATCH] Documentation: kbuild: Add initramfs into reproducible builds document jouni.hogander

Linux-KBuild Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-kbuild/0 linux-kbuild/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-kbuild linux-kbuild/ https://lore.kernel.org/linux-kbuild \
		linux-kbuild@vger.kernel.org
	public-inbox-index linux-kbuild

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kbuild


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git