[PATCH] init/Kconfig: Preserve mtimes in initramfs only if BLK_DEV_INITRD

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

 



From: Alec Ari <alec@xxxxxxxxxxx>
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@xxxxxxxxxxx>
---
 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




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux