Skip to contentSkip to conversation

Pull request for branch initramfs-dep-fix

GIT PULL New Thomas Petazzoni 2 participants 4 messages Jun 25, 2010 – Jun 26, 2010

lore
Share & tools
lore
#0 lore raw

The following changes since commit f4abd4e61215b119d38ccba011a901732ce704e4:
Peter Huewe (1):
docs: Fixed spelling error in buildroot.html GETTEXT instead of GNUTTEXT

are available in the git repository at:

git://git.busybox.net/~tpetazzoni/git/buildroot initramfs-dep-fix

Thomas Petazzoni (2):
initramfs: only show the option when a Linux kernel is being built
initramfs: update help text

 fs/initramfs/Config.in |   28 +++++++++++++++++-----------
 1 files changed, 17 insertions(+), 11 deletions(-)

Thanks,

Signature · 1 line
Thomas Petazzoni
#1 lore raw

PATCH 1/2 initramfs: only show the option when a Linux kernel is being built

Fixes bug #2119.

---
 fs/initramfs/Config.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
fs/initramfs/Config.in +4 -0
index d53982c..94875b8 100644
@@ -1,5 +1,6 @@
 config BR2_TARGET_ROOTFS_INITRAMFS
 	bool "initramfs for initial ramdisk of linux kernel"
+	depends on BR2_LINUX_KERNEL
 	help
 	  Build a file which is usable for the gen_init_cpio tool
 	  at linux kernel build.
@@ -13,3 +14,6 @@ config BR2_TARGET_ROOTFS_INITRAMFS
 	  Device Drivers -> Block devices -> Initramfs source file(s).
 	  The configuration variable is CONFIG_INITRAMFS_SOURCE
 
+comment "initramfs requires a Linux kernel to be built"
+	depends on !BR2_LINUX_KERNEL
+
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 2/2 initramfs: update help text

In reply to Thomas Petazzoni
---
 fs/initramfs/Config.in |   24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)
fs/initramfs/Config.in +13 -11
index 94875b8..b9e93a8 100644
@@ -2,17 +2,19 @@ config BR2_TARGET_ROOTFS_INITRAMFS
 	bool "initramfs for initial ramdisk of linux kernel"
 	depends on BR2_LINUX_KERNEL
 	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
+	  Integrate the root filesystem generated by Buildroot as an
+	  initramfs inside the kernel image. This integration will
+	  take place automatically.
+
+	  The rootfs.initramfs file generated in the images/ directory
+	  is only a text file describing the contents of the initramfs
+	  in a format understood by the CONFIG_INITRAMFS_SOURCE kernel
+	  configuration option.
+
+	  Note that enabling initramfs together with other filesystem
+	  formats doesn't make sense: you would end up having two
+	  identical root filesystems, one embedded inside the kernel
+	  image, and one separatly.
 
 comment "initramfs requires a Linux kernel to be built"
 	depends on !BR2_LINUX_KERNEL
Signature · 1 line
1.7.0.4
#3 lore raw
In reply to Thomas Petazzoni
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> The following changes since commit f4abd4e61215b119d38ccba011a901732ce704e4:
Thomas> Peter Huewe (1):
Thomas> docs: Fixed spelling error in buildroot.html GETTEXT instead of GNUTTEXT

Thomas> are available in the git repository at:

Thomas> git://git.busybox.net/~tpetazzoni/git/buildroot initramfs-dep-fix

Pulled, thanks.

Signature · 1 line
Bye, Peter Korsgaard