Revert "initramfs: break loop when decompression finishes"
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 7 Oct 2024 09:06:10 +0000 (11:06 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 12 Nov 2024 04:03:21 +0000 (13:03 +0900)
This reverts commit 455261dc71f1db53e458196bf6e00ff766b1b7b1.

This workaround is no longer needed after adding initramfs unpacking
in Tizen boot script.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I65cdced9d6f4baed820eed7f442569ef928351a8

init/initramfs.c

index fb4e9d082a5e3b28c6f66d9a43e6b9529c1121b6..efc477b905a4826ec3c55110787bef2cb2fa8ee9 100644 (file)
@@ -520,7 +520,6 @@ static char * __init unpack_to_rootfs(char *buf, unsigned long len)
                                   &my_inptr, error);
                        if (res)
                                error("decompressor failed");
-                       break;
                } else if (compress_name) {
                        if (!message) {
                                snprintf(msg_buf, sizeof msg_buf,