Source-Changes-HG archive

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

[src/netbsd-1-5]: src/etc/etc.sparc Pullup 1.21 [pk]:



details:   https://anonhg.NetBSD.org/src/rev/2e170feb4edf
branches:  netbsd-1-5
changeset: 490061:2e170feb4edf
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Nov 01 03:18:05 2000 +0000

description:
Pullup 1.21 [pk]:
* Add `installation/floppy' and `installation/tape' directories to the
  release(7) hierarchy and populate them with links to images in `bootfs'

* Remove miniroot scripts from `installation/netboot'; these are contained
  in the instfs.tgz which can be used to setup an NFS root directory (for
  installation purposes).

* Make the bootable cd-rom image using the `bootfs' filesystem, since a bug
  in the cd driver prevents us from running directly from a CD filesystem.

diffstat:

 etc/etc.sparc/Makefile.inc |  33 ++++++++++++++++++++++++---------
 1 files changed, 24 insertions(+), 9 deletions(-)

diffs (64 lines):

diff -r 5a1922d9ae94 -r 2e170feb4edf etc/etc.sparc/Makefile.inc
--- a/etc/etc.sparc/Makefile.inc        Wed Nov 01 03:16:45 2000 +0000
+++ b/etc/etc.sparc/Makefile.inc        Wed Nov 01 03:18:05 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.15.4.2 2000/10/22 19:03:07 tv Exp $
+#      $NetBSD: Makefile.inc,v 1.15.4.3 2000/11/01 03:18:05 tv Exp $
 #
 #      etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets
 #
@@ -12,7 +12,8 @@
 
 # Add sparc installation directories
 MD_INSTALLATION_DIRS= \
-       installation/miniroot installation/netboot installation/bootfs
+       installation/miniroot installation/netboot installation/bootfs \
+       installation/tape installation/floppy
 INSTALLATION_DIRS+=$(MD_INSTALLATION_DIRS) 
 
 snap_pre_md:
@@ -28,23 +29,37 @@
        (cd $(TOP)/distrib; ${MAKE})
 
        # transfer images to release hierarchy
-.for dir in notes miniroot sparc/ramdisk sparc/bootfs sparc/instfs
+.for dir in notes miniroot sparc/bootfs sparc/instfs
        (cd $(TOP)/distrib/$(dir); ${MAKE} release)
 .endfor
 
-       # install boot image and installation scripts in netboot directory
+       # install boot image in netboot directory
        cp -p $(DESTDIR)/usr/mdec/boot.net $(RELEASEDIR)/installation/netboot
-.for f in install.sh upgrade.sh install.sub ../sparc/install.md
-       cp -p $(TOP)/distrib/miniroot/$f $(RELEASEDIR)/installation/netboot
-.endfor
+
+       # install links to boot and installation utilities for various media
+       rm -f ${RELEASEDIR}/installation/tape/tapefile1.gz
+       rm -f ${RELEASEDIR}/installation/tape/tapefile2
+       rm -f ${RELEASEDIR}/installation/floppy/disk1.gz
+       rm -f ${RELEASEDIR}/installation/floppy/disk2
+       rm -f ${RELEASEDIR}/installation/netboot/rootfs.tgz
+       ln -s ../bootfs/netbsd.ram.aout.gz \
+                       ${RELEASEDIR}/installation/tape/tapefile1.gz
+       ln -s ../bootfs/instfs.tgz \
+                       ${RELEASEDIR}/installation/tape/tapefile2
+       ln -s ../bootfs/boot.fs.gz \
+                       ${RELEASEDIR}/installation/floppy/disk1.gz
+       ln -s ../bootfs/instfs.tgz \
+                       ${RELEASEDIR}/installation/floppy/disk2
+       ln -s ../bootfs/instfs.tgz \
+                       ${RELEASEDIR}/installation/netboot/rootfs.tgz
 
        # compute checksums
 .for dir in ${MD_INSTALLATION_DIRS}
        sh $(TOP)/distrib/sets/makesums -t ${RELEASEDIR}/${dir} '*'
 .endfor
 
-CDBOOTIMAGE!=  cd ${TOP}/distrib/miniroot; \
-               printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/miniroot.fs\n" | \
+CDBOOTIMAGE!=  cd ${TOP}/distrib/sparc/bootfs; \
+               printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/boot.fs\n" | \
                ${MAKE} -s -f-
 
 iso-image_md_post:



Home | Main Index | Thread Index | Old Index