mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH] - UML - add initramfs to Kconfig
  2004-11-14 23:04 [PATCH] - UML - add initramfs to Kconfig Jeff Dike
@ 2004-11-14 20:53 ` Chris Wedgwood
  2004-11-15  1:02   ` Jeff Dike
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Wedgwood @ 2004-11-14 20:53 UTC (permalink / raw)
  To: Jeff Dike; +Cc: akpm, Blaisorblade, linux-kernel

On Sun, Nov 14, 2004 at 06:04:22PM -0500, Jeff Dike wrote:

> Trivial patch (copy and yank) so UML builds don't generate a warning
> from linux/usr/Makefile:gen_cmd_list when CONFIG_INITRAMFS_SOURCE
> isn't defined (maybe the Makefile shouldn't require
> CONFIG_INITRAMFS_SOURCE to be set?).

This is already in the BK tree... for about 3 weeks now!  What tree
are you working from?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] - UML - add initramfs to Kconfig
@ 2004-11-14 23:04 Jeff Dike
  2004-11-14 20:53 ` Chris Wedgwood
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Dike @ 2004-11-14 23:04 UTC (permalink / raw)
  To: akpm, Blaisorblade; +Cc: linux-kernel, cw

Trivial patch (copy and yank) so UML builds don't generate a warning
from linux/usr/Makefile:gen_cmd_list when CONFIG_INITRAMFS_SOURCE
isn't defined (maybe the Makefile shouldn't require
CONFIG_INITRAMFS_SOURCE to be set?).

Signed-off-by: cw@f00f.org
Signed-off-by: Jeff Dike <jdike@addtoit.com>

Index: 2.6.9/arch/um/Kconfig_block
===================================================================
--- 2.6.9.orig/arch/um/Kconfig_block	2004-11-14 15:31:25.000000000 -0500
+++ 2.6.9/arch/um/Kconfig_block	2004-11-14 15:31:37.000000000 -0500
@@ -79,6 +79,34 @@
 
 	  If you are not sure, leave it blank.
 
+# copied directly from drivers/block/Kconfig
+
+config INITRAMFS_SOURCE
+	string "Source directory of cpio_list"
+	default ""
+	help
+	  This can be set to either a directory containing files, etc to be
+	  included in the initramfs archive, or a file containing newline
+	  separated entries.
+
+	  If it is a file, it should be in the following format:
+	    # a comment
+	    file <name> <location> <mode> <uid> <gid>
+	    dir <name> <mode> <uid> <gid>
+	    nod <name> <mode> <uid> <gid> <dev_type> <maj> <min>
+
+	  Where:
+	    <name>      name of the file/dir/nod in the archive
+	    <location>  location of the file in the current filesystem
+	    <mode>      mode/permissions of the file
+	    <uid>       user id (0=root)
+	    <gid>       group id (0=root)
+	    <dev_type>  device type (b=block, c=character)
+	    <maj>       major number of nod
+	    <min>       minor number of nod
+
+	  If you are not sure, leave it blank.
+
 config MMAPPER
 	tristate "Example IO memory driver"
 	depends on BROKEN


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] - UML - add initramfs to Kconfig
  2004-11-14 20:53 ` Chris Wedgwood
@ 2004-11-15  1:02   ` Jeff Dike
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Dike @ 2004-11-15  1:02 UTC (permalink / raw)
  To: Chris Wedgwood; +Cc: akpm, Blaisorblade, linux-kernel

cw@f00f.org said:
> This is already in the BK tree... for about 3 weeks now!  What tree
> are you working from? 

Oops, I rely on quilt telling me a patch is in -mm when I push my patchset on
to the latest.  However, it is disturbingly happy to insert duplicate copies
of stuff, as happened in this case.

				Jeff


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-14 22:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-14 23:04 [PATCH] - UML - add initramfs to Kconfig Jeff Dike
2004-11-14 20:53 ` Chris Wedgwood
2004-11-15  1:02   ` Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome