-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

This morning I sat down and looked at why the initramfs kernels fail to
include an initramfs. I finally found out what is wrong.

The kernel shows the following output:
~  GEN     usr/initramfs_data.cpio.gz
after which the initramfs is only 4kB big (aka an empty archive).

~From usr/Makefile:

quiet_cmd_initfs = GEN     $@
~      cmd_initfs = $(initramfs) -o $@ $(ramfs-args) $(ramfs-input)

That command will overwrite any existing initramfs_data.cpio.gz since
the kernel was unpacked later than our initramfs_data.cpio.gz was created.
I 'fixed' it by replacing cmd_initfs with 'echo'. The proper fix would
have been to put the contents our out initramfs in some dir and have the
kernel make its own initramfs_data.cpio.gz from that, but my way works
as well :)
Now we only need Thomas and Paul to combine their initramfs efforts to
get one kickass initramfs for all machines with sucky bootloaders.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFH0mlCMkyGM64RGpERAuBoAKCyrzpLNsLBMB/Nl6JSV8vBpmjVCgCfbFNJ
NsJwxd7Wc0bfZUMBqW0mAAs=
=qDm6
-----END PGP SIGNATURE-----


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to