svn commit: trunk/buildroot/target: initramfs
Author: aldot
Date: 2007-07-08 12:22:18 -0700 (Sun, 08 Jul 2007) New Revision: 19045
Log:
- provide option to build an initramfs out of the current rootfs. Closes #881
Added:
trunk/buildroot/target/initramfs/ trunk/buildroot/target/initramfs/Config.in trunk/buildroot/target/initramfs/gen_initramfs_list.sh trunk/buildroot/target/initramfs/initramfs.mk
Modified:
trunk/buildroot/target/Config.in
Changeset:
Modified: trunk/buildroot/target/Config.in
===================================================================
buildroot/target/Config.in +1 -0
@@ -10,6 +10,7 @@ source "target/tar/Config.in" source "target/cpio/Config.in" source "target/iso9660/Config.in" +source "target/initramfs/Config.in" comment "bootloader for target device"
Added: trunk/buildroot/target/initramfs/Config.in
===================================================================
buildroot/target/initramfs/Config.in +16 -0
@@ -0,0 +1,16 @@ +config BR2_TARGET_ROOTFS_INITRAMFS + bool "initramfs for initial ramdisk of linux kernel" + default n + help + Build a file which is usable for the gen_init_cpio tool + at linux kernel build. + This file is normally called initramfs_list and can be + generated with gen_initramfs_list.sh script from the root + directory structure. + The file is then used in the kernel build process to generate + the cpio filesystem for the initial ramdisk. Make sure that + you configure this file in kernel build configuration. + The location in the kernel build configuration menu is + Device Drivers -> Block devices -> Initramfs source file(s). + The configuration variable is CONFIG_INITRAMFS_SOURCE +
Added: trunk/buildroot/target/initramfs/gen_initramfs_list.sh
===================================================================
buildroot/target/initramfs/gen_initramfs_list.sh +203 -0
203 lines not on this page · raw message
Added: trunk/buildroot/target/initramfs/initramfs.mk
===================================================================
buildroot/target/initramfs/initramfs.mk +43 -0
43 lines not on this page · raw message