[buildroot 0000881]: Buildroot new feature: Generate initramfs description file of root filesystem for initial kernel ramdisk
bugs at busybox.net
bugs at busybox.net
Wed May 24 23:28:00 UTC 2006
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=881
======================================================================
Reported By: fred
Assigned To: uClibc
======================================================================
Project: buildroot
Issue ID: 881
Category: New Features
Reproducibility: N/A
Severity: feature
Priority: normal
Status: assigned
======================================================================
Date Submitted: 05-24-2006 16:27 PDT
Last Modified: 05-24-2006 16:27 PDT
======================================================================
Summary: Buildroot new feature: Generate initramfs
description file of root filesystem for initial kernel ramdisk
Description:
This patch contains a new target "initramfs" which builds a description
file for the initial kernel ramdisk. I use this together with kernel
2.6.12. The mechanism is based on a shell script "gen_initramfs_list.sh"
which is provided together with the kernel. The description file is then
used to build a cpio filesystem via the gen_init_cpio tool during the
kernel build.
This is inspired by the procedure described here:
http://www.student.tue.nl/Q/t.f.a.wilms/adm5120/
That procedure produces an ext2 filesystem with buildroot. Then this
filesystem is mounted in the kernel build directory where
"gen_initramfs_list.sh" produces a filesystem description file which is
used then by gen_init_cpio to produce the cpio filesystem. This procedure
requires root rights to mount the filesystem. The idea is to produce the
filesystem description file directly from buildroot. Then the complete
kernel including rootfilesystem as ramdisk can be build as normal user.
The patch adds a new target and modifies the config.in file in the target
directory.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
05-24-06 16:27 fred New Issue
05-24-06 16:27 fred Status new => assigned
05-24-06 16:27 fred Assigned To => uClibc
05-24-06 16:27 fred File Added: buildroot_initramfs_target.patch
======================================================================
More information about the uClibc-cvs
mailing list