projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42a49d8
)
Disable do_skip_initramfs
author
deadman96385
<seanhoyt963@gmail.com>
Mon, 23 Mar 2020 08:03:24 +0000
(
03:03
-0500)
committer
Stricted
<info@stricted.net>
Thu, 23 Apr 2020 16:48:43 +0000
(16:48 +0000)
This allows twrp to load properly
init/initramfs.c
patch
|
blob
|
blame
|
history
diff --git
a/init/initramfs.c
b/init/initramfs.c
index 5ea7f1b5ec44b12c8ea15e1ce2507cdcc4b9454e..bf9e02d8d6ef9c05359d9bdee3fbdfaab4dd7d61 100644
(file)
--- a/
init/initramfs.c
+++ b/
init/initramfs.c
@@
-623,11
+623,11
@@
static int __init populate_rootfs(void)
{
char *err;
-
if (do_skip_initramfs) {
-
if (initrd_start)
-
free_initrd();
-
return default_rootfs();
-
}
+
//
if (do_skip_initramfs) {
+
//
if (initrd_start)
+
//
free_initrd();
+
//
return default_rootfs();
+
//
}
/* Load the built in initramfs */
err = unpack_to_rootfs(__initramfs_start, __initramfs_size);