NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Serial console bootable install CD [i386]



At Mon, 20 Oct 2008 16:04:49 -0400, Me-planix.ca wrote:
Subject: Re: Serial console bootable install CD [i386]
> 
> Hmmm.... or maybe it's not -- just add yet more SUBDIR entries to the  
> same src/distrib/i386/cdroms/Makefile as above and corresponding  
> directories with modified copies of src/distrib/i386/cdroms/installcd  
> (e.g. add the desired CDBOOTOPTIONS setting).  I'm going to try that  
> now.

Yup, this works fine:

cvs diff: Diffing distrib/i386/cdroms
Index: distrib/i386/cdroms/Makefile
===================================================================
RCS file: /cvs/master/m-NetBSD/main/src/distrib/i386/cdroms/Makefile,v
retrieving revision 1.3.2.1
diff -u -r1.3.2.1 Makefile
--- distrib/i386/cdroms/Makefile        9 Mar 2007 06:59:25 -0000       1.3.2.1
+++ distrib/i386/cdroms/Makefile        20 Oct 2008 23:10:21 -0000
@@ -3,7 +3,12 @@
 SUBDIR=
 SUBDIR+=       bootcd
 SUBDIR+=       bootcd-com
+SUBDIR+=       bootcd-auto
+SUBDIR+=       bootcd-com0kbd
 SUBDIR+=       installcd
+SUBDIR+=       installcd-com0
+SUBDIR+=       installcd-auto
+SUBDIR+=       installcd-com0kbd
 
 TARGETS+=       release iso_image
 
cvs diff: Diffing distrib/i386/cdroms/bootcd
cvs diff: Diffing distrib/i386/cdroms/bootcd-auto
Index: distrib/i386/cdroms/bootcd-auto/Makefile
===================================================================
RCS file: distrib/i386/cdroms/bootcd-auto/Makefile
diff -N distrib/i386/cdroms/bootcd-auto/Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ distrib/i386/cdroms/bootcd-auto/Makefile    12 Jun 2007 20:48:32 -0000
@@ -0,0 +1,9 @@
+#      $NetBSD$
+#
+
+.include "${.CURDIR}/../Makefile.cdrom"
+
+CDBASE=                boot-auto                       # gives ${CDBASE}.iso
+CDBOOTOPTIONS= -o console=auto,speed=0
+
+.include "${.CURDIR}/../../../common/Makefile.bootcd"
cvs diff: Diffing distrib/i386/cdroms/bootcd-com
Index: distrib/i386/cdroms/bootcd-com/Makefile
===================================================================
RCS file: 
/cvs/master/m-NetBSD/main/src/distrib/i386/cdroms/bootcd-com/Makefile,v
retrieving revision 1.1.4.1
diff -u -r1.1.4.1 Makefile
--- distrib/i386/cdroms/bootcd-com/Makefile     9 Mar 2007 06:59:33 -0000       
1.1.4.1
+++ distrib/i386/cdroms/bootcd-com/Makefile     8 Jun 2007 22:23:18 -0000
@@ -4,6 +4,6 @@
 .include "${.CURDIR}/../Makefile.cdrom"
 
 CDBASE=                boot-com                        # gives ${CDBASE}.iso
-CDBOOTOPTIONS= -o console=com0
+CDBOOTOPTIONS= -o console=com0,speed=0
 
 .include "${.CURDIR}/../../../common/Makefile.bootcd"
cvs diff: Diffing distrib/i386/cdroms/bootcd-com0kbd
Index: distrib/i386/cdroms/bootcd-com0kbd/Makefile
===================================================================
RCS file: distrib/i386/cdroms/bootcd-com0kbd/Makefile
diff -N distrib/i386/cdroms/bootcd-com0kbd/Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ distrib/i386/cdroms/bootcd-com0kbd/Makefile 12 Jun 2007 20:56:03 -0000
@@ -0,0 +1,9 @@
+#      $NetBSD$
+#
+
+.include "${.CURDIR}/../Makefile.cdrom"
+
+CDBASE=                boot-com0kbd                    # gives ${CDBASE}.iso
+CDBOOTOPTIONS= -o console=com0kbd,speed=0
+
+.include "${.CURDIR}/../../../common/Makefile.bootcd"
cvs diff: Diffing distrib/i386/cdroms/bootcd-laptop
cvs diff: Diffing distrib/i386/cdroms/installcd
cvs diff: Diffing distrib/i386/cdroms/installcd-auto
Index: distrib/i386/cdroms/installcd-auto/Makefile
===================================================================
RCS file: distrib/i386/cdroms/installcd-auto/Makefile
diff -N distrib/i386/cdroms/installcd-auto/Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ distrib/i386/cdroms/installcd-auto/Makefile 20 Oct 2008 23:17:50 -0000
@@ -0,0 +1,13 @@
+#      $NetBSD$
+#
+
+# Install CD, auto (console) boot block, to be made after 'build.sh release'
+# Requires populated $RELEASEDIR/${MACHINE}
+
+.include "${.CURDIR}/../Makefile.cdrom"
+
+CDBASE=                i386cd-auto             # gives ${CDBASE}.iso
+CDRELEASE=      true                    # include $RELEASEDIR/$MACHINE
+CDBOOTOPTIONS= -o console=auto,speed=0
+
+.include "${.CURDIR}/../../../common/Makefile.bootcd"
cvs diff: Diffing distrib/i386/cdroms/installcd-com0
Index: distrib/i386/cdroms/installcd-com0/Makefile
===================================================================
RCS file: distrib/i386/cdroms/installcd-com0/Makefile
diff -N distrib/i386/cdroms/installcd-com0/Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ distrib/i386/cdroms/installcd-com0/Makefile 20 Oct 2008 23:17:58 -0000
@@ -0,0 +1,13 @@
+#      $NetBSD$
+#
+
+# Install CD, com0 boot block, to be made after 'build.sh release'
+# Requires populated $RELEASEDIR/${MACHINE}
+
+.include "${.CURDIR}/../Makefile.cdrom"
+
+CDBASE=                i386cd-com0             # gives ${CDBASE}.iso
+CDRELEASE=      true                    # include $RELEASEDIR/$MACHINE
+CDBOOTOPTIONS= -o console=com0,speed=0
+
+.include "${.CURDIR}/../../../common/Makefile.bootcd"
cvs diff: Diffing distrib/i386/cdroms/installcd-com0kbd
Index: distrib/i386/cdroms/installcd-com0kbd/Makefile
===================================================================
RCS file: distrib/i386/cdroms/installcd-com0kbd/Makefile
diff -N distrib/i386/cdroms/installcd-com0kbd/Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ distrib/i386/cdroms/installcd-com0kbd/Makefile      20 Oct 2008 23:18:14 
-0000
@@ -0,0 +1,13 @@
+#      $NetBSD$
+#
+
+# Install CD, com0kbd boot block, to be made after 'build.sh release'
+# Requires populated $RELEASEDIR/${MACHINE}
+
+.include "${.CURDIR}/../Makefile.cdrom"
+
+CDBASE=                i386cd-com0kbd          # gives ${CDBASE}.iso
+CDRELEASE=      true                    # include $RELEASEDIR/$MACHINE
+CDBOOTOPTIONS= -o console=com0kbd,speed=0
+
+.include "${.CURDIR}/../../../common/Makefile.bootcd"


-- 
                                                Greg A. Woods
                                                Planix, Inc.

<woods%planix.com@localhost>     +1 416 489-5852 x122     http://www.planix.com/

Attachment: pgpVyyv3a7PP8.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index