Bladeren bron

cpio/initramfs: clarify their use in the help text

Recent mails on the list show that it is not very clear how to create
an initial RAM fs with buildroot.  So make this more explicit in the
cpio and initramfs help texts.  Hopefully this will reduce the /init
debugging we have to do.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Arnout Vandecappelle 12 jaren geleden
bovenliggende
commit
7e61918f9d
2 gewijzigde bestanden met toevoegingen van 9 en 4 verwijderingen
  1. 8 3
      fs/cpio/Config.in
  2. 1 1
      fs/initramfs/Config.in

+ 8 - 3
fs/cpio/Config.in

@@ -1,14 +1,19 @@
 config BR2_TARGET_ROOTFS_CPIO
 config BR2_TARGET_ROOTFS_CPIO
-	bool "cpio the root filesystem"
+	bool "cpio the root filesystem (for use as an initial RAM filesystem)"
 	help
 	help
-	  Build a cpio archive of the root filesystem
+	  Build a cpio archive of the root filesystem.  This is typically
+	  used for an initial RAM filesystem that is passed to the kernel
+	  by the bootloader.
 
 
 choice
 choice
         prompt "Compression method"
         prompt "Compression method"
         default BR2_TARGET_ROOTFS_CPIO_NONE
         default BR2_TARGET_ROOTFS_CPIO_NONE
         depends on BR2_TARGET_ROOTFS_CPIO
         depends on BR2_TARGET_ROOTFS_CPIO
         help
         help
-          Select compressor for cpio filesystem of the root filesystem
+          Select compressor for cpio filesystem of the root filesystem.
+          If you use the cpio archive as an initial RAM filesystem, make
+          sure the kernel contains the decompression algorithm selected
+          here.
 
 
 config BR2_TARGET_ROOTFS_CPIO_NONE
 config BR2_TARGET_ROOTFS_CPIO_NONE
         bool "no compression"
         bool "no compression"

+ 1 - 1
fs/initramfs/Config.in

@@ -1,5 +1,5 @@
 config BR2_TARGET_ROOTFS_INITRAMFS
 config BR2_TARGET_ROOTFS_INITRAMFS
-	bool "initramfs for initial ramdisk of linux kernel"
+	bool "initial RAM filesystem linked into linux kernel"
 	depends on BR2_LINUX_KERNEL
 	depends on BR2_LINUX_KERNEL
 	select BR2_TARGET_ROOTFS_CPIO
 	select BR2_TARGET_ROOTFS_CPIO
 	help
 	help