2023-06-02 18:54:35 +00:00
|
|
|
From 7182dbdfa5fe14d747bd0fbe46916ad4582ddecb Mon Sep 17 00:00:00 2001
|
2022-03-27 18:25:06 +00:00
|
|
|
From: Alexey Min <alexey.min@gmail.com>
|
|
|
|
Date: Wed, 14 Jul 2021 11:50:09 +0300
|
|
|
|
Subject: [PATCH 6/7] Do not skip initramfs
|
|
|
|
|
|
|
|
We need it to boot postmarketOS
|
|
|
|
|
|
|
|
Signed-off-by: Alexey Min <alexey.min@gmail.com>
|
|
|
|
---
|
|
|
|
init/initramfs.c | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/init/initramfs.c b/init/initramfs.c
|
|
|
|
index 87d27f4e1d4c..dc8c04a8d6d2 100644
|
|
|
|
--- a/init/initramfs.c
|
|
|
|
+++ b/init/initramfs.c
|
|
|
|
@@ -614,7 +614,8 @@ static int __init skip_initramfs_param(char *str)
|
|
|
|
{
|
|
|
|
if (*str)
|
|
|
|
return 0;
|
|
|
|
- do_skip_initramfs = 1;
|
|
|
|
+ /* do_skip_initramfs = 1; NOPE */
|
|
|
|
+ printk(KERN_WARNING "We were told to skip initramfs, but won't do so!\n");
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
__setup("want_initramfs", skip_initramfs_param);
|
|
|
|
--
|
2023-06-02 18:54:35 +00:00
|
|
|
2.40.1
|
2022-03-27 18:25:06 +00:00
|
|
|
|