public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] elkscmd: rebuild disk images
@ 2004-06-03 22:09 claudio
  2004-06-03 23:02 ` Tommy McCabe
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: claudio @ 2004-06-03 22:09 UTC (permalink / raw)
  To: linux-8086

[-- Attachment #1: Type: TEXT/PLAIN, Size: 655 bytes --]


The attached patch allows one to rebuild the disk images provided
that:

  1. root runs make full3
  2. /bin and /boot are added to the rootfs template (I also
     added /lib, /home, /mnt to mine)
  3. your MAKEDEV script works (Tommy is working on that)
  4. path to dev86 is correctly set in the build system


 Makefile          |    3 ++-
 bc/Makefile       |   13 +++++++------
 disk_utils/mkfs.c |    2 +-
 3 files changed, 10 insertions(+), 8 deletions(-)

(Miguel prefers attached patches to inline, so I'm sending them
attached. If anybody thinks inline is better for reviewing and
for archival purposes, I can send an inline version as well.)

[-- Attachment #2: Type: TEXT/PLAIN, Size: 2242 bytes --]

Index: Makefile
===================================================================
RCS file: /cvsroot/elks/elkscmd/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- Makefile	2 Jun 2004 20:38:03 -0000	1.20
+++ Makefile	3 Jun 2004 21:53:48 -0000
@@ -119,7 +119,8 @@
 # Create relevant parts of other packages.
 
 $(FD_BSECT):
-	make -C $(MINIX_BOOT) bin
+	make -C $(MINIX_BOOT)
+	make -C $(MINIX_BOOT) minix.bin
 
 $(KHELPER):
 	make -C $(MINIX_BOOT)
Index: bc/Makefile
===================================================================
RCS file: /cvsroot/elks/elkscmd/bc/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- bc/Makefile	1 Jun 2004 13:30:22 -0000	1.11
+++ bc/Makefile	3 Jun 2004 21:53:51 -0000
@@ -2,12 +2,15 @@
 #
 # A makefile for bc.  This is part of the bc/sbc distribution.
 #
+
+BASEDIR 	= ..
+
+include $(BASEDIR)/Make.defs
+
 ###############################################################################
 #
 # Include standard packaging commands.
 
-BASEDIR 	= ..
-
 MIN_BIN 	= 
 MIN_LIB 	= 
 MIN_SBIN	= 
@@ -27,13 +30,11 @@
 STD_BIN 	= 
 STD_LIB 	= 
 STD_SBIN	= 
-STD_USR_BIN	= 
+STD_USR_BIN	=
 STD_USR_LIB	= 
 STD_USR_MAN	= 
 STD_USR_SBIN	= 
 
-include $(BASEDIR)/Make.rules
-
 ###############################################################################
 #
 #  Make sure these have the correct directories for your machine.
@@ -72,7 +73,7 @@
 
 math.h: libmath.b
 	$(MAKE) -$(MAKEFLAGS) fbc
-	/lib/elksemu ./fbc -c libmath.b </dev/null >math.h
+	elksemu ./fbc -c libmath.b </dev/null >math.h
 	./fix_math.h
 	rm -f ./fbc
 
Index: disk_utils/mkfs.c
===================================================================
RCS file: /cvsroot/elks/elkscmd/disk_utils/mkfs.c,v
retrieving revision 1.3
diff -u -r1.3 mkfs.c
--- disk_utils/mkfs.c	20 Jul 2002 21:46:15 -0000	1.3
+++ disk_utils/mkfs.c	3 Jun 2004 21:53:51 -0000
@@ -162,7 +162,7 @@
 	exit(status);
 }
 
-#define usage() fatal_error("Usage: mkfs /dev/name blocks # Max blocks=65535\n",16)
+#define usage() fatal_error("Usage: mkfs /dev/name blocks (Max blocks=65535)\n",16)
 #define die(str) fatal_error("mkfs: " str "\n",8)
 
 void write_tables(void)

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

* Re: [PATCH] elkscmd: rebuild disk images
  2004-06-03 22:09 [PATCH] elkscmd: rebuild disk images claudio
@ 2004-06-03 23:02 ` Tommy McCabe
  2004-06-04 15:24 ` Miguel Bolanos
  2004-06-04 15:24 ` ** Applied ** " Miguel Bolanos
  2 siblings, 0 replies; 5+ messages in thread
From: Tommy McCabe @ 2004-06-03 23:02 UTC (permalink / raw)
  To: linux-8086

--- claudio@conectiva.com wrote:
> 
> The attached patch allows one to rebuild the disk
> images provided
> that:
> 
>   1. root runs make full3
>   2. /bin and /boot are added to the rootfs template
> (I also
>      added /lib, /home, /mnt to mine)
>   3. your MAKEDEV script works (Tommy is working on
> that)
>   4. path to dev86 is correctly set in the build
> system
> 
> 
>  Makefile          |    3 ++-
>  bc/Makefile       |   13 +++++++------
>  disk_utils/mkfs.c |    2 +-
>  3 files changed, 10 insertions(+), 8 deletions(-)
> 
> (Miguel prefers attached patches to inline, so I'm
> sending them
> attached. If anybody thinks inline is better for
> reviewing and
> for archival purposes, I can send an inline version
> as well.)
> > Index: Makefile

Hey! I provided a patch to remove the # in
disk_utils/mkfs.c, but it was rejected. I knew this
caused some sort of error!


===================================================================
> RCS file: /cvsroot/elks/elkscmd/Makefile,v
> retrieving revision 1.20
> diff -u -r1.20 Makefile
> --- Makefile	2 Jun 2004 20:38:03 -0000	1.20
> +++ Makefile	3 Jun 2004 21:53:48 -0000
> @@ -119,7 +119,8 @@
>  # Create relevant parts of other packages.
>  
>  $(FD_BSECT):
> -	make -C $(MINIX_BOOT) bin
> +	make -C $(MINIX_BOOT)
> +	make -C $(MINIX_BOOT) minix.bin
>  
>  $(KHELPER):
>  	make -C $(MINIX_BOOT)
> Index: bc/Makefile
>
===================================================================
> RCS file: /cvsroot/elks/elkscmd/bc/Makefile,v
> retrieving revision 1.11
> diff -u -r1.11 Makefile
> --- bc/Makefile	1 Jun 2004 13:30:22 -0000	1.11
> +++ bc/Makefile	3 Jun 2004 21:53:51 -0000
> @@ -2,12 +2,15 @@
>  #
>  # A makefile for bc.  This is part of the bc/sbc
> distribution.
>  #
> +
> +BASEDIR 	= ..
> +
> +include $(BASEDIR)/Make.defs
> +
> 
>
###############################################################################
>  #
>  # Include standard packaging commands.
>  
> -BASEDIR 	= ..
> -
>  MIN_BIN 	= 
>  MIN_LIB 	= 
>  MIN_SBIN	= 
> @@ -27,13 +30,11 @@
>  STD_BIN 	= 
>  STD_LIB 	= 
>  STD_SBIN	= 
> -STD_USR_BIN	= 
> +STD_USR_BIN	=
>  STD_USR_LIB	= 
>  STD_USR_MAN	= 
>  STD_USR_SBIN	= 
>  
> -include $(BASEDIR)/Make.rules
> -
> 
>
###############################################################################
>  #
>  #  Make sure these have the correct directories for
> your machine.
> @@ -72,7 +73,7 @@
>  
>  math.h: libmath.b
>  	$(MAKE) -$(MAKEFLAGS) fbc
> -	/lib/elksemu ./fbc -c libmath.b </dev/null >math.h
> +	elksemu ./fbc -c libmath.b </dev/null >math.h
>  	./fix_math.h
>  	rm -f ./fbc
>  
> Index: disk_utils/mkfs.c
>
===================================================================
> RCS file: /cvsroot/elks/elkscmd/disk_utils/mkfs.c,v
> retrieving revision 1.3
> diff -u -r1.3 mkfs.c
> --- disk_utils/mkfs.c	20 Jul 2002 21:46:15 -0000	1.3
> +++ disk_utils/mkfs.c	3 Jun 2004 21:53:51 -0000
> @@ -162,7 +162,7 @@
>  	exit(status);
>  }
>  
> -#define usage() fatal_error("Usage: mkfs /dev/name
> blocks # Max blocks=65535\n",16)
> +#define usage() fatal_error("Usage: mkfs /dev/name
> blocks (Max blocks=65535)\n",16)
>  #define die(str) fatal_error("mkfs: " str "\n",8)
>  
>  void write_tables(void)
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

* Re: [PATCH] elkscmd: rebuild disk images
  2004-06-03 22:09 [PATCH] elkscmd: rebuild disk images claudio
  2004-06-03 23:02 ` Tommy McCabe
@ 2004-06-04 15:24 ` Miguel Bolanos
  2004-06-04 16:57   ` claudio
  2004-06-04 15:24 ` ** Applied ** " Miguel Bolanos
  2 siblings, 1 reply; 5+ messages in thread
From: Miguel Bolanos @ 2004-06-04 15:24 UTC (permalink / raw)
  To: claudio; +Cc: linux-8086

[-- Attachment #1: Type: text/plain, Size: 1985 bytes --]

Greetings,

On Thu, 2004-06-03 at 16:09, claudio@conectiva.com wrote:
> The attached patch allows one to rebuild the disk images provided
> that:
> 
>   1. root runs make full3
>   2. /bin and /boot are added to the rootfs template (I also
>      added /lib, /home, /mnt to mine)
>   3. your MAKEDEV script works (Tommy is working on that)
>   4. path to dev86 is correctly set in the build system
> 
> 
>  Makefile          |    3 ++-
>  bc/Makefile       |   13 +++++++------
>  disk_utils/mkfs.c |    2 +-
>  3 files changed, 10 insertions(+), 8 deletions(-)
> 
> (Miguel prefers attached patches to inline, so I'm sending them
> attached. If anybody thinks inline is better for reviewing and
> for archival purposes, I can send an inline version as well.)

[...]

@@ -27,13 +30,11 @@
 STD_BIN        = 
 STD_LIB        = 
 STD_SBIN       = 
-STD_USR_BIN    = 
+STD_USR_BIN    =
 STD_USR_LIB    = 
 STD_USR_MAN    = 
 STD_USR_SBIN   = 

mmh ?? Any reason for this?

[...]

--- disk_utils/mkfs.c   20 Jul 2002 21:46:15 -0000      1.3
+++ disk_utils/mkfs.c   3 Jun 2004 21:53:51 -0000
@@ -162,7 +162,7 @@
        exit(status);
 }
 
-#define usage() fatal_error("Usage: mkfs /dev/name blocks # Max
blocks=65535\n",16)
+#define usage() fatal_error("Usage: mkfs /dev/name blocks (Max
blocks=65535)\n",16)
 #define die(str) fatal_error("mkfs: " str "\n",8)
 
 void write_tables(void)

You and Tommy are right, I will apply this right now. My apologizes to
Tommy for my previous reject.
best wishes

Mike

-- 
--------------------miguel bolanos, systems administrator, linuxlabs
... ........ ..... ....                 230 peachtree st nw ste 2701
the original linux labs                          atlanta.ga.us 30303
       -since 1995                          http://www.linuxlabs.com
                                office 404.577.7747 fax 404.577.7743
--------------------------------------------------------------------

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* ** Applied ** Re: [PATCH] elkscmd: rebuild disk images
  2004-06-03 22:09 [PATCH] elkscmd: rebuild disk images claudio
  2004-06-03 23:02 ` Tommy McCabe
  2004-06-04 15:24 ` Miguel Bolanos
@ 2004-06-04 15:24 ` Miguel Bolanos
  2 siblings, 0 replies; 5+ messages in thread
From: Miguel Bolanos @ 2004-06-04 15:24 UTC (permalink / raw)
  To: claudio; +Cc: linux-8086

[-- Attachment #1: Type: text/plain, Size: 1296 bytes --]

Applied. Made a couple of very small adaptations on it but nothing
really important. thanks

Mike

On Thu, 2004-06-03 at 16:09, claudio@conectiva.com wrote:
> The attached patch allows one to rebuild the disk images provided
> that:
> 
>   1. root runs make full3
>   2. /bin and /boot are added to the rootfs template (I also
>      added /lib, /home, /mnt to mine)
>   3. your MAKEDEV script works (Tommy is working on that)
>   4. path to dev86 is correctly set in the build system
> 
> 
>  Makefile          |    3 ++-
>  bc/Makefile       |   13 +++++++------
>  disk_utils/mkfs.c |    2 +-
>  3 files changed, 10 insertions(+), 8 deletions(-)
> 
> (Miguel prefers attached patches to inline, so I'm sending them
> attached. If anybody thinks inline is better for reviewing and
> for archival purposes, I can send an inline version as well.)
-- 
--------------------miguel bolanos, systems administrator, linuxlabs
... ........ ..... ....                 230 peachtree st nw ste 2701
the original linux labs                          atlanta.ga.us 30303
       -since 1995                          http://www.linuxlabs.com
                                office 404.577.7747 fax 404.577.7743
--------------------------------------------------------------------

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [PATCH] elkscmd: rebuild disk images
  2004-06-04 15:24 ` Miguel Bolanos
@ 2004-06-04 16:57   ` claudio
  0 siblings, 0 replies; 5+ messages in thread
From: claudio @ 2004-06-04 16:57 UTC (permalink / raw)
  To: Miguel Bolanos; +Cc: linux-8086

On Fri, 4 Jun 2004, Miguel Bolanos wrote:

> @@ -27,13 +30,11 @@
>  STD_BIN        =
>  STD_LIB        =
>  STD_SBIN       =
> -STD_USR_BIN    =
> +STD_USR_BIN    =
>  STD_USR_LIB    =
>  STD_USR_MAN    =
>  STD_USR_SBIN   =
>
> mmh ?? Any reason for this?

Diff weirdness. Probably a blank space leftover, just ignore :)


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

end of thread, other threads:[~2004-06-04 16:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-03 22:09 [PATCH] elkscmd: rebuild disk images claudio
2004-06-03 23:02 ` Tommy McCabe
2004-06-04 15:24 ` Miguel Bolanos
2004-06-04 16:57   ` claudio
2004-06-04 15:24 ` ** Applied ** " Miguel Bolanos

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