Closed nmcain closed 4 years ago
You can't just compress the rootfs. Linux can't boot from that. It your rootfs.ext2
full? Maybe you can adjust the size in Buildroot. The Buildroot mailing list is probably a better place for this question. There is nothing genimage can do here.
Genimage won't support a tar archive for Rootfs?
On Tue, Aug 11, 2020, 11:41 PM Michael Olbrich notifications@github.com wrote:
Closed #115 https://github.com/pengutronix/genimage/issues/115.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pengutronix/genimage/issues/115#event-3646214123, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEOTEHHBN5AXFSLKGFMFLYDSAI2PZANCNFSM4P3ZHPYQ .
I don't understand the question. You can put anything in a partition with genimage, including a tar archive. But that doesn't mean the Linux kernel can actually boot with it.
I am using the PC x86_64 Buildroot defconfig, with the following CFG configuration for genimage:
the file in question, rootfs.ext2 is set to a size of 500mb (I would love to decrease the size somehow) However, I either want to compress the image or find some way of decreasing the size automatically. I attempted to use rootfs.ext2.xz, however it went into a kernel panic immediately.