[Buildroot] error building kernel with initramfs

Peter Korsgaard jacmet at uclibc.org
Sat Oct 8 21:55:50 UTC 2011


>>>>> "Sven" == Sven Neumann <s.neumann at raumfeld.com> writes:

 Sven> Hi,
 Sven> if you select gzip compression for the rootfs.cpio file
 Sven> (BR2_TARGET_ROOTFS_CPIO_GZIP), then the rebuild of the kernel with
 Sven> initramfs is going to fail:

Odd, that's not what I'm seeing here.

in fs/common.mk the compression stuff is handled by creating the
compressed variant IN ADDITION to the uncompressed file, E.G.:

gzip -9 -c /home/peko/source/buildroot/test/images/rootfs.cpio > \
     /home/peko/source/buildroot/test/images/rootfs.cpio.gz

So output/images/rootfs.cpio still exists when the kernel is rebuilt.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list