Skip to contentSkip to conversation

init: fix removal warning for deprecated initrd loading

PATCH Applied Martin Kepplinger 2 participants 2 messages Dec 18, 2024 – Dec 19, 2024 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 init: fix removal warning for deprecated initrd loading

This won't be removed in 2021, no matter how hard we try.

---
 init/do_mounts_initrd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
init/do_mounts_initrd.c +1 -1
index 22c7f41ff642..f86ef92a6c46 100644
@@ -89,7 +89,7 @@ static void __init handle_initrd(char *root_device_name)
 	extern char *envp_init[];
 	int error;
 
-	pr_warn("using deprecated initrd support, will be removed in 2021.\n");
+	pr_warn("using deprecated initrd support, will be removed soon.\n");
 
 	real_root_dev = new_encode_dev(ROOT_DEV);
 	create_dev("/dev/root.old", Root_RAM0);
Signature · 1 line
2.39.5
#1 lore raw
Quoted 2 lines · On Wed, 18 Dec 2024 12:36:38 +0000 Martin Kepplinger <[email protected]> wrote:

This won't be removed in 2021, no matter how hard we try.

man git-timetravel

init/do_mounts_initrd.c static void __init handle_initrd(char *root_device_name) · line 95

Quoted 13 lines

...

init/do_mounts_initrd.c +1 -1
@@ -89,7 +89,7 @@ static void __init handle_initrd(char *root_device_name)
 	extern char *envp_init[];
 	int error;
 
-	pr_warn("using deprecated initrd support, will be removed in 2021.\n");
+	pr_warn("using deprecated initrd support, will be removed soon.\n");
 
 	real_root_dev = new_encode_dev(ROOT_DEV);
 	create_dev("/dev/root.old", Root_RAM0);

Well, what's stopping us from removing initrd support?

Maybe the next step is to remove it by default, with a hard-to-find Kconfig setting to get it back again?