25 lines
680 B
Diff
25 lines
680 B
Diff
|
From 4995be221047acf5b40610e5c4eacf4b75434500 Mon Sep 17 00:00:00 2001
|
||
|
From: NeKit <nekit1000@gmail.com>
|
||
|
Date: Mon, 18 Mar 2019 22:02:40 +0100
|
||
|
Subject: [PATCH] (hybris) always boot to initramfs
|
||
|
|
||
|
---
|
||
|
init/initramfs.c | 4 +++-
|
||
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/init/initramfs.c b/init/initramfs.c
|
||
|
index 52059169..54768fd3 100644
|
||
|
--- a/init/initramfs.c
|
||
|
+++ b/init/initramfs.c
|
||
|
@@ -612,7 +612,9 @@ static int __init skip_initramfs_param(char *str)
|
||
|
{
|
||
|
if (*str)
|
||
|
return 0;
|
||
|
- do_skip_initramfs = 1;
|
||
|
+ // Halium: always boot to initramfs
|
||
|
+ //do_skip_initramfs = 1;
|
||
|
+ do_skip_initramfs = 0;
|
||
|
return 1;
|
||
|
}
|
||
|
__setup("skip_initramfs", skip_initramfs_param);
|