2.6.10-rc1 initramfs busted

From: Russell King (rmk+lkml_at_arm.linux.org.uk)
Date: 10/23/04

  • Next message: Rui Nuno Capela: "Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-U10.2"
    Date:	Sat, 23 Oct 2004 13:31:20 +0100
    To: Linux Kernel List <linux-kernel@vger.kernel.org>
    
    

    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.

    -- 
    Russell King
     Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
     maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                     2.6 Serial core
    -
    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/
    

  • Next message: Rui Nuno Capela: "Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-U10.2"

    Relevant Pages

    • Re: 2.6.10-rc1 initramfs busted [u]
      ... > The source tree contains this in usr: ... > and the build tree usr contains: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH -mm] Documentation/feature-removal-schedule.txt in date order
      ... > patching this file - it's a major source of rejects for me and I ... the minus side, it causes many more files in the source tree, though it ... because life wouldn't have any meaning for them if they didn't. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6 build oddity...
      ... > In some sort of freak accident, I had a .s file in my source tree. ... I have tried to reproduce this locally (with 2.6 kernel btw). ... 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/ ...
      (Linux-Kernel)
    • Re: silent semantic changes with reiser4
      ... untarring a big source tree takes ages. ... ones I look at often on my disk -- automatically cleaned if the space ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6 build oddity...
      ... In some sort of freak accident, I had a .s file in my source tree. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)