fix big initramfs (was: [PATCH] gen_init_cpio fixes for 2.5.64)

fix big initramfs (was: [PATCH] gen_init_cpio fixes for 2.5.64)

Post by Andrew Morto » Thu, 13 Mar 2003 10:50:10




> Patch below makes the call to page_writeback_init() explicit in
> start_kernel, just before populate_rootfs().

Fair enough.

Quote:> +extern void page_writeback_init(void);

But please don't put declarations of external functions into .c.  It is
always the wrong thing to do, even though others have done it...

writeback.h is a fine place for this declaration.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. gen_init_cpio fixes for 2.5.64

Hi,

Here are two patches split out of the big klibc patch that fix some
problems in the gen_init_cpio.c code.  The first one allows files to be
added to the cpio image and fixes a padding error, and the second one
fixes some build problems with the cpio image (if there was an error,
the build would not stop.)

Please pull from:
        bk://kernel.bkbits.net/gregkh/linux/initramfs-2.5

I'll send the two patches as followups to this message to lkml for those
who want to see them.

thanks,

greg k-h

 usr/Makefile        |   26 ++++++++++++---
 usr/gen_init_cpio.c |   90 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 112 insertions(+), 4 deletions(-)
-----


  kbuild: handle any failures of the gen_init_cpio or initramfs image to stop the build.

  This also shows how to add files to the initramfs build, but is
  commented out.

  Patch originally done by Kai.

 usr/Makefile |   26 ++++++++++++++++++++++----
 1 files changed, 22 insertions(+), 4 deletions(-)
------


  gen_init_cpio: Add the ability to add files to the cpio image.

Push file://home/greg/linux/BK/initramfs-2.5 -> file://home/greg/linux/BK/bleed-2.5
 usr/gen_init_cpio.c |   90 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 90 insertions(+)
------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Need help w/ Expect script--How to read from a file??

3. JDK for Alpha?

4. [PATCH] ReiserFS Attempt 3: fix reiserfs memleaks on journal opening failures in 2.5.64

5. mawk 1.3.2 release

6. 2.5.64 ACPI suspend/resume locking fix

7. MKE2FS: mke2fs on the WRONG Partition. Recovery possible?

8. 2.5.64-ac3: fix a typo in ide-default.c

9. Sending #2: ReiserFS: fix reiserfs memleaks on journal opening failures in 2.5.64

10. [ppc] 2.5.64 compilation fixes

11. 2.5.64-ac1: fix apic.c compile

12. [2.5.64] kexec for 2.5.64 available