Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.sparc64 Make the single-arch ISO image created by "m...



details:   https://anonhg.NetBSD.org/src/rev/9600970c0995
branches:  trunk
changeset: 542826:9600970c0995
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Feb 08 18:39:56 2003 +0000

description:
Make the single-arch ISO image created by "make iso-image" bootable.
(Using partition f to boot, since that is the default on sparc64
machines and we don't have to consider conflicts for single arch CDs -
this means "boot cdrom" just works)

diffstat:

 etc/etc.sparc64/Makefile.inc |  14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 39cf3dd375b2 -r 9600970c0995 etc/etc.sparc64/Makefile.inc
--- a/etc/etc.sparc64/Makefile.inc      Sat Feb 08 17:45:49 2003 +0000
+++ b/etc/etc.sparc64/Makefile.inc      Sat Feb 08 18:39:56 2003 +0000
@@ -1,8 +1,7 @@
-#      $NetBSD: Makefile.inc,v 1.21 2003/01/03 15:34:40 lukem Exp $
+#      $NetBSD: Makefile.inc,v 1.22 2003/02/08 18:39:56 martin Exp $
 #
 #      etc.sparc64/Makefile.inc -- sparc64-specific etc Makefile targets
 #
-
 # Specify whether or not to build 32-bit libs.
 MK32BITLIBS?=no
 
@@ -71,3 +70,14 @@
 .for dir in ${MD_INSTALLATION_DIRS}
        ${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/${dir} '*'
 .endfor
+
+ISOBOOTFILEDIR!=cd ${.CURDIR}/../distrib/${MACHINE}/bootfs && ${PRINTOBJDIR}
+ISOBOOTFILE?=  ${ISOBOOTFILEDIR}/boot.fs
+MKSUNBOOTCDDIR!=cd ${.CURDIR}/../distrib/utils/mksunbootcd && ${PRINTOBJDIR}
+MKSUNBOOTCD?=  ${MKSUNBOOTCDDIR}/mksunbootcd
+
+${MKSUNBOOTCD}:
+       cd ${MKSUNBOOTCDDIR} && ${MAKE}
+
+iso-image_md_post:     ${MKSUNBOOTCD}
+       ${MKSUNBOOTCD} -c 640 ${CDROM.image} /dev/null /dev/null /dev/null /dev/null ${ISOBOOTFILE}



Home | Main Index | Thread Index | Old Index