* 2.6.9-bk6 initramfs build failure with separate object dir
@ 2004-10-21 18:43 Tom Duffy
2004-10-22 21:09 ` [PATCH] " Doug Maxey
0 siblings, 1 reply; 2+ messages in thread
From: Tom Duffy @ 2004-10-21 18:43 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: sam
[-- Attachment #1: Type: text/plain, Size: 1465 bytes --]
[tduffy@duffman linux-2.6.9-bk-openib]$ make O=/build1/tduffy/openib-work/build/bk/3.4/x86_64/
Using /build1/tduffy/openib-work/linux-2.6.9-bk-openib as source for kernel
CHK include/linux/version.h
make[2]: `arch/x86_64/kernel/asm-offsets.s' is up to date.
CHK include/asm-x86_64/offset.h
CHK include/linux/compile.h
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:
# a comment
file <name> <location> <mode> <uid> <gid>
dir <name> <mode> <uid> <gid>
nod <name> <mode> <uid> <gid> <dev_type> <maj> <min>
<name> name of the file/dir/nod in the archive
<location> location of the file in the current filesystem
<mode> mode/permissions of the file
<uid> user id (0=root)
<gid> group id (0=root)
<dev_type> device type (b=block, c=character)
<maj> major number of nod
<min> minor number of nod
example:
# A simple initramfs
dir /dev 0755 0 0
nod /dev/console 0600 0 0 c 5 1
dir /root 0700 0 0
dir /sbin 0755 0 0
file /sbin/kinit /usr/src/klibc/kinit/kinit 0755 0 0
make[2]: *** [usr/initramfs_data.cpio] Error 1
make[1]: *** [usr] Error 2
make: *** [_all] Error 2
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH] Re: 2.6.9-bk6 initramfs build failure with separate object dir
2004-10-21 18:43 2.6.9-bk6 initramfs build failure with separate object dir Tom Duffy
@ 2004-10-22 21:09 ` Doug Maxey
0 siblings, 0 replies; 2+ messages in thread
From: Doug Maxey @ 2004-10-22 21:09 UTC (permalink / raw)
To: Tom Duffy; +Cc: Linux Kernel Mailing List, sam
On Thu, 21 Oct 2004 11:43:42 PDT, Tom Duffy wrote:
>
>[tduffy@duffman linux-2.6.9-bk-openib]$ make O=/build1/tduffy/openib-work/build/bk/3.4/x86_64/
> Using /build1/tduffy/openib-work/linux-2.6.9-bk-openib as source for kernel
> CHK include/linux/version.h
>make[2]: `arch/x86_64/kernel/asm-offsets.s' is up to date.
> CHK include/asm-x86_64/offset.h
> CHK include/linux/compile.h
> 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
...
Signed-off-by: Doug Maxey <dwm@austin.ibm.com>
Should apply to all 2.6.9.
--- lk-2.6.9-mm1/usr/Makefile 2004-10-22 15:10:37.762298752 -0500
+++ lk-2.6.9-mm1.edit/usr/Makefile 2004-10-22 15:57:49.322317968 -0500
@@ -8,7 +8,7 @@ clean-files := initramfs_data.cpio.gz
# If you want a different list of files in the initramfs_data.cpio
# then you can either overwrite the cpio_list in this directory
# or set INITRAMFS_LIST to another filename.
-INITRAMFS_LIST := $(obj)/initramfs_list
+INITRAMFS_LIST := $(srctree)/$(obj)/initramfs_list
# initramfs_data.o contains the initramfs_data.cpio.gz image.
# The image is included using .incbin, a dependency which is not
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-22 21:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-21 18:43 2.6.9-bk6 initramfs build failure with separate object dir Tom Duffy
2004-10-22 21:09 ` [PATCH] " Doug Maxey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox