linux-config.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alec Ari <alec@onelabs.com>
To: Linux Block <linux-block@vger.kernel.org>,
	Linux Config <linux-config@vger.kernel.org>
Subject: [PATCH] init/Kconfig: Preserve mtimes in initramfs only if BLK_DEV_INITRD
Date: Mon, 15 Aug 2022 19:29:22 -0500	[thread overview]
Message-ID: <520759aec345e48adf6348ef3acc5310@onelabs.com> (raw)

 From: Alec Ari <alec@onelabs.com>
Date: Mon, 15 Aug 2022 19:18:56 -0500
Subject: init/Kconfig: Preserve mtimes in initramfs only if 
BLK_DEV_INITRD

Would preserving mtimes in initramfs prove useful if
BLK_DEV_INITRD is disabled?

Signed-off-by: Alec Ari <alec@onelabs.com>
---
  init/Kconfig | 1 +
  1 file changed, 1 insertion(+)

diff --git a/init/Kconfig b/init/Kconfig
index 80fe60fa7..8322860a7 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1392,6 +1392,7 @@ config BOOT_CONFIG_EMBED_FILE

  config INITRAMFS_PRESERVE_MTIME
  	bool "Preserve cpio archive mtimes in initramfs"
+	depends on BLK_DEV_INITRD
  	default y
  	help
  	  Each entry in an initramfs cpio archive carries an mtime value. When
-- 
2.37.2


             reply	other threads:[~2022-08-16  0:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-16  0:29 Alec Ari [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-16  0:43 [PATCH] init/Kconfig: Preserve mtimes in initramfs only if BLK_DEV_INITRD Alec Ari

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=520759aec345e48adf6348ef3acc5310@onelabs.com \
    --to=alec@onelabs.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-config@vger.kernel.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).