- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
(fixes problem caused by implicit include of ../Makefile.inc in certain
submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of
etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines. Add gethost.o back to Really Small media which
appears to need the space savings.
cross-built without root privileges. (tested i386->sparc cross-build).
- remove now-unused cruft
XXX: there's still other parts of distrib/sparc that need fixing.
- a bootable bootfs which contains a spartan md-based `ramdisk'
filesystem, which loads the tar file image:
- instfs, which is constructed from the miniroot filesystem
and contains all installation utilities.
The current miniroot image also supersedes the former separate
{bootfs,ramdisk}.sysinst tools.
this larger is the solution we're looking for.) And make it actually work
with a larger size, rather not using the extra space we've allocated due
to not changing the geometry we disklabel it with. Do we even need to give
this a disk-like geometry, especially if it's a `floppy' with more tracks
than a real floppy has?
install.sub:
- fix interface grovelling, ifmedia support, allow ifmedia and link
to have a "none" (-> "") answer (which lets you give nothing when
a default answer is given)
- allow installing more than one set at a time, including "all" as
a synonym for all remaining sets
- mount -o async when extracting sets
makeconf.awk:
- put default "libs" section at the end rather than the start, so
you can put other "libs" in before this list
- minor cleanup
mtree.conf:
- create /kern
sparc install.md:
- MDSETS are now "kern xbase xcomp xcontrib xfont xserver"
- use /kern & kernfs (replaces dmesg)
- replace grep & cut pipe lines with sed
- replace grep hackery with sed hackery
- grep and cut are no longer required! yay!
- deal with no /usr/bin/vi -- call disklabel -i
- in md_copy_kern() link the netbsd.GENERIC we got from the kern set,
rather than the miniroot kernel
sparc miniroot list:
- no more dmesg, cut or grep
sparc ramdisk changes:
Makefile:
- `ramdiskbin.conf' is now generated by makeconf.awk
- don't use libhack's opendir, it breaks
dot.profile:
- don't assume terminal is `sun'
- set EDITOR=ed
-
list:
- instbin -> ramdiskbin to make `makeconf.awk' work
- CRUNCHSPECIAL those special dirs
- add our LIBS as necessary
libhack changes:
- if NOLIBHACKOPENDIR is set, don't build opendir.o
- Remove *.cro files and not the obsoleted *.lo files.
From Bill Studenmund commit message:
> 3) Generate .cro files rather than .lo files. .lo now is used for "local
> objects" - obj's for the host machine not the target machine.
the needed endianism of the architecture. One step towards cross-building
releases.
Not touched are newfs calls in install scripts as they run on the desired
machine and thus default correctly.
- don't use sysinst yet, it's not ready for the sparc, go back to
the old miniroot install programs.
- add these programs:
- pppd (nice to install from an SS2 with local floppy & modem only)
- bzip2 (media may be bz2'ed in the RFSN future)
- edlabel (much ligher weight than disklabel)
- expr (miniroot)
- hostname (miniroot)
- netstat (miniroot)
- sort (miniroot)
- remove these programs:
- tset (not used)
- strings (too big now)
- slattach (who uses slip these days, *really* ? see pppd addition)
- disklabel (see edlabel addition)
- shutdown (have reboot/halt already)
- sysinst (not using it yet)
- grow the install filesystem a bit more, to facilitate the new programs.
- use gordons libhack stuff, to reduce the size of the install binary.
- don't need /etc/master.passwd or the {s,}pwd.db files anymore!
- clean up dot.profile a bit.