9291b05b2c
... and also work around https://gitlab.com/postmarketOS/pmaports/-/issues/1990
29 lines
802 B
Diff
29 lines
802 B
Diff
From 7182dbdfa5fe14d747bd0fbe46916ad4582ddecb Mon Sep 17 00:00:00 2001
|
|
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);
|
|
--
|
|
2.40.1
|
|
|