From: deadman96385 Date: Mon, 23 Mar 2020 08:03:24 +0000 (-0500) Subject: Disable do_skip_initramfs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8416ee77b13d7ca609a6737779fcb36ad5564f8d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Disable do_skip_initramfs This allows twrp to load properly --- diff --git a/init/initramfs.c b/init/initramfs.c index 5ea7f1b5ec44..bf9e02d8d6ef 100644 --- 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);