Re: 2.6.10-rc1 initramfs busted [u]
From: Martin Schlemmer [c] (azarah_at_nosferatu.za.org)
Date: 10/23/04
- Previous message: linux_at_horizon.com: "SCO's copyright claims or lack thereof (was: Re: Linux v2.6.9 and GPL Buyout)"
- In reply to: Russell King: "2.6.10-rc1 initramfs busted"
- Next in thread: Russell King: "Re: 2.6.10-rc1 initramfs busted [u]"
- Reply: Russell King: "Re: 2.6.10-rc1 initramfs busted [u]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Russell King <rmk+lkml@arm.linux.org.uk> Date: Sat, 23 Oct 2004 14:42:08 +0200
On Sat, 2004-10-23 at 13:31 +0100, Russell King wrote:
> A build using O= does this:
>
> HOSTCC usr/gen_init_cpio
> GEN_INITRAMFS_LIST usr/initramfs_list
> Using shipped usr/initramfs_list
> CPIO usr/initramfs_data.cpio
> ERROR: unable to open 'usr/initramfs_list': No such file or directory
>
> Usage:
> ./usr/gen_init_cpio <cpio_list>
>
> <cpio_list> is a file containing newline separated entries that
> describe the files to be included in the initramfs archive:
>
> The source tree contains this in usr:
>
> -rw-r--r-- 1 rmk rmk 1657 Oct 23 11:41 Makefile
> -rw-r--r-- 1 rmk rmk 8335 Oct 23 11:41 gen_init_cpio.c
> -rw-r--r-- 1 rmk rmk 1024 Aug 1 2003 initramfs_data.S
> -rw-r--r-- 1 rmk rmk 146 Oct 23 11:41 initramfs_list
>
> and the build tree usr contains:
>
> -rwxr-xr-x 1 rmk rmk 10834 Oct 23 13:29 gen_init_cpio
> -rw-r--r-- 1 rmk rmk 0 Oct 23 13:29 initramfs_data.cpio
>
> Running with V=1 shows:
>
> make -f /home/rmk/build/linux-v2.6-local/scripts/Makefile.build obj=usr
> echo Using shipped usr/initramfs_list
> Using shipped usr/initramfs_list
> ./usr/gen_init_cpio usr/initramfs_list > usr/initramfs_data.cpio
> ERROR: unable to open 'usr/initramfs_list': No such file or directory
>
> so it's referencing the wrong directory.
>
Yep. Please see the
[PATCH 2.6.9-bk7] Select cpio_list or source directory for initramfs image updates
thread for latest patch to fix this and other issues. There are some
other patches floating around that is slightly smaller, but I would
appreciate testing and feedback.
Cheers,
-- Martin Schlemmer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- application/pgp-signature attachment: This is a digitally signed message part
- Previous message: linux_at_horizon.com: "SCO's copyright claims or lack thereof (was: Re: Linux v2.6.9 and GPL Buyout)"
- In reply to: Russell King: "2.6.10-rc1 initramfs busted"
- Next in thread: Russell King: "Re: 2.6.10-rc1 initramfs busted [u]"
- Reply: Russell King: "Re: 2.6.10-rc1 initramfs busted [u]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|